All Questions
882
questions
0
votes
0
answers
20
views
How to make all new tabs/windows in electron direct to new electron-tabs
I'm currently working on some JavaScript code for a project. My goal is to make Electron open all links that would normally result in "pop-ups" to open in new tabs under the electron-tabs ...
-3
votes
1
answer
41
views
webContents not defined error. how to fix? [closed]
I am a beginner coder and not that good so please don't mind my code, I am trying to make an application in electron js that opens an image file and displays it in the app. and I am having to send a ...
-1
votes
0
answers
44
views
No icon is displayed
The following problem needs to be solved: when you drag shortcuts to the container, they are duplicated and their image is not displayed.
Below I provide the main code of node js electron and renderer....
0
votes
0
answers
54
views
Dropdown menu overlaps with component in Vue app
I had a Vue electron app, in which Home view component has 3 child components which are in single column one after the other, I have a b-dropdown in middle component when I scroll up the opened ...
3
votes
2
answers
1k
views
How do I remove the menu bar from a specific window in electron?
I have a menu in my application that when you click on document properties another window pops up, but the application menu is also being inherited by this window, so you can open the document ...
1
vote
3
answers
968
views
alert(__dirname) not producing any output in an electron app
I do not get the desired output when running the following electron app i.e alert box containing pwd as output. However, the commented line inside index.html seems to work fine. The developer console ...
0
votes
1
answer
45
views
Multiple html pages in electron forge app
I'm trying to make a desktop app using Electron Forge. The app design consists of an index.html page for the home page. The home page contains a button when pressed will cause the app to do some ...
0
votes
2
answers
52
views
How to make user data persistent in local storage in electron-app?
I'm building a tasks-to-do application using electron. As I'm new using it, I have found a lot of problems to make the tasks already uploaded persistent in the application.
I'm creating the tasks ...
1
vote
1
answer
44
views
How to use context isolation ture with node integration false, In frontend without using Routes instead Js File for load the context body?
I can't use Electron Forge, so in order avoid duplicating header in HTML files, I want the base of the content load using JS function, within the page also I need to do the execution as well
HTML ...
0
votes
0
answers
43
views
How can I modify the image and color of scrollbar buttons in HTML and CSS?
When I developed software using Electron, I found that its built-in scrollbar was not very attractive:
Electron's built-in scrollbar style
I decided to customize the scrollbar style. My CSS style and ...
0
votes
2
answers
39
views
can't change height of webview element
I am creating a desktop web browser (target platform is Windows) using electron. I am using a <webview> element to display the contents of a target URL. I am unable to change its height, despite ...
20
votes
8
answers
19k
views
Electron Content Security Policy error when connecting to my api
Creating a simple template electron app. I want to do a fetch request to my api but am continuously stopped by the Content Security Policy errors and I have no idea how to fix them.
Refused to ...
0
votes
3
answers
1k
views
webview.executeJavascript is not a function
While starting to sort my js files in a recent Electron project I stopped being able to webview.executeJavascript webview being a variable that is a querySelector on my webview.
I tried testing to ...
4
votes
0
answers
431
views
FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye
Trying to setup Electron on my computer, to setup .exe files for my HTML/CSS/JS projects
I'm currently developing on Windows and got this:
[3088:0525/235414.074:ERROR:gpu_process_host.cc(991)] GPU ...
4
votes
2
answers
9k
views
JavaScript - Read metadata of video file
I've been at this for hours, it's time to ask for a little help.
I need to know the frame rate of a video on load in JavaScript/HTML and I'm trying to avoid VLC plug-in or ffmpeg.
The browser reads ...