All Questions
883
questions
3
votes
0
answers
524
views
Prevent drag and drop navigation onto window scrollbar
I have a problem whereby my html application 'navigated' to the content the user would drag and drop onto it. For example, dropping a text file on the application would cause the page to navigate to ...
4
votes
2
answers
11k
views
Retry loading a webpage when failed in electron
I'm using electron to display some webpages. Below is my coding:
var app = require('app');
var ipc = require('ipc');
var BrowserWindow = require('browser-window');
var settings = require('./settings')...
2
votes
1
answer
1k
views
Disable zooming (both pinch zoom and smart zoom [mac]) in electron
Does anyone have a working solution to disable all kinds of zooming in electron v0.35.0? (including pinch zoom and smart zoom (on mac))
3
votes
3
answers
7k
views
How to set max height for Bootstrap accordion
I used this template to create an accordion in Bootstrap.
I will probably have a lot more elements and can't figure out how to set the max height for the menu before the contents of the sublinks div ...
1
vote
1
answer
521
views
Unhide the menu bar for app after compiled with electron-packager
I notice that electron-packager has hide the top menu bar after we compiled an exe file if compared to electron-prebuilt. Is there ways to unhide it? I need to use it for user to choose some settings.
...
0
votes
3
answers
299
views
Swap page content in javascript. Why isn't there a solution for this?
I'm wondering if there really isn't a single practical solution to this problem. Namely, swapping html content of webpages.
In this case jquery's load() isn't useful because I have to load the ...
6
votes
1
answer
4k
views
Using Electron vs. Offline HTML5 for an offline application
When looking up Electron and Offline HTML5, I have found it difficult to make a decision between which one to use for a project.
Assuming that a user will have to go to a certain website to download ...
43
votes
4
answers
57k
views
Native looking UI components for Electron application
I'm using Electron (formerly Atom Shell) for a desktop application.
It is a lot of fun to use and event-driven programming has its merits.
I've got all HTML, CSS & JS power at my hands because it ...
1
vote
1
answer
4k
views
Electron (Atom-Shell) Run unix command from link in page
I am trying to learn Electron (Atom-Shell) but I am finding it pretty tough to find documentation for it...
I am simply trying to figure out how to create a link with <a href="something"></a&...
37
votes
9
answers
15k
views
Disable pinch zoom in webkit (or electron)
Is there any way to disable pinch zoom in an electron app?
I can't get it to work from inside the web-view with normal javascript methods as described here: https://stackoverflow.com/a/23510108/...
4
votes
0
answers
2k
views
What is the proper way to load JavaScript scripts in Atom Shell?
This probably a completely stupid question but I just started working with Atom shell.
I have an index.html with a login form. I boostrap the jquery form validation in the document ready like so:
$...
0
votes
0
answers
263
views
How can online/offline versions of an HTML5 app access the same LocalStorage?
A benefit often mentioned (e.g., here, here) about HTML5 LocalStorage is support for offline apps. However, the same-origin policy makes me think that an app at foo.com won't see the same ...
153
votes
5
answers
29k
views
What are the functional differences between NW.js, Brackets-Shell and Electron?
Now that TideSDK is effectively dead, I've been looking into alternative 'wrappers' to run HTML/CSS/JS applications as stand-alone desktop applications. The three viable options I have run across so ...