Skip to main content

All Questions

0 votes
0 answers
55 views

Events from iframes or webviews in electron window

We recieve our pages from server and to avoid cross origin issues i replace all my iframes to webviews So after some time we recieved a task where we need to show mouse coordinates when clicking on ...
beeloon's user avatar
0 votes
0 answers
114 views

electron webview not firing 'dom-ready' event after been packed

I'm using a webview inside electron app, here is my code: <webview id="weather" src="http://example.com"></webview> const weather = document.getElementById("...
IShirai_KurokoI's user avatar
0 votes
0 answers
23 views

Block web from show notify app badge in taskbar, Electronjs

taskbar icon I have this issue when i use telegram with the webview inside my Electron js app, telegram show notify of new chat message, then a badge number show in taskbar (check the image above) How ...
Hoonigan029's user avatar
1 vote
1 answer
1k views

Electron webview's setWindowOpenHandler is not called at all when opening a new window

My Electron (v22.3.6) app uses <webview> tag. This webview is located in the 'main.html' renderer process with <webview> tag. And the 'main.html' is loaded by mainWindow, a BrowserWindow ...
klados's user avatar
  • 757
2 votes
1 answer
543 views

Webview in Electron does not allow to share screen?

I am trying to create an Electron app which runs webview of Google meet. Everything works fine but when I try to share screen it show error "browser does not support share screen". Is there ...
Question hunter's user avatar
0 votes
1 answer
454 views

Can I download chrome extension directly from an Electron webview?

Im working on a browser made with Electron and React and I need to be able to downlaod extension from chrome extension store but theres no button to do it so I cant download them. We search online but ...
Zakary Fofana's user avatar
0 votes
0 answers
355 views

Call an Electron function of renderer or main process from online website

An Electron app has a <webview> component inside a renderer process. IPC is used to communicate between the main process and the renderer process without using remote module. (nodeIntegration=...
klados's user avatar
  • 757
0 votes
1 answer
420 views

How to open a new window with the same custom user agent in ElectronJS

Im Building a webview app in ElectronJs, Im using a Custom User Agent to make the user interact with the webApp. When the user clicks on links that has target="_blank" property, it opens a ...
Mumin Gazi's user avatar
0 votes
0 answers
255 views

Electron's WebView functions doesn't work

So when I create a webview element using JavaScript (document.createElement) all it's functions are undefined. Shortly: let wv = document.createElement("webview"); wv.loadURL("https://...
UnitedCatdom's user avatar
0 votes
1 answer
185 views

handling the onclose event of electron app inside the webview app

I have an electron app in which the Ui is built using react js. inside the react js ui other web app is loaded using the webview. my problem is i need to save the data of the webview app when the ...
Suhail Ahmed's user avatar
0 votes
2 answers
2k views

target=_blank based link in webview in electron.js are not opening when nativeWindowOpen is true in parent window

I have simple electron.js application, electron-quick-start in which I am using <webview>. By default links in which target=_blank is set does not open inside webview. There is some workaround ...
Alok's user avatar
  • 9,222
0 votes
0 answers
87 views

How to make mobile-like electron application (I attached images)

enter image description here I am trying to make this electron application. This application act like cell phone. The picture above is the main. enter image description here When I click the Youtube ...
Hoyong Lee's user avatar
2 votes
2 answers
5k views

How to enable nodeintegration in electron webview?

I build an app with Electron an i try to use a webview to display a file loaded from my disk and i need nodeintegration in the webview. Although it is documented in the Electron Documentation here i ...
Redstonerayy's user avatar
0 votes
1 answer
84 views

Re-route hypertext link clicks to external URLs to another browser than the Electron app

I have an Electron BrowserWindow, which contains UI elements and a BrowserView created with: bv = createBrowserView('https://example.com'); ... browserWindow.setBrowserView(bv); How to limit this ...
Basj's user avatar
  • 44.9k
1 vote
0 answers
1k views

How to render content on top of Electron.js mainwindow page while avoiding webview or browserview

Let's say you start your electron desktop application like any other application: //main.js const {app, BrowserWindow, BrowserView, } = require('electron') function createWindow () { // Create the ...
Iulian's user avatar
  • 409

15 30 50 per page
1
2 3 4 5 6