Emitted when user or the page wants to start an navigation, it can happen when
`window.location` object is changed or user clicks a link in the page.
-This event will not emit when the navigation is started programmely with APIs
+This event will not emit when the navigation is started programmatically with APIs
like `WebContents.loadUrl` and `WebContents.back`.
Calling `event.preventDefault()` can prevent the navigation.
API to set window shape to solve this, but currently blocked at an
[upstream bug](https://code.google.com/p/chromium/issues/detail?id=387234).
* Transparent window is not resizable, setting `resizable` to `true` may make
- transprent window stop working on some platforms.
+ transparent window stop working on some platforms.
* The `blur` filter only applies to the web page, so there is no way to apply
blur effect to the content below the window.
* On Windows transparent window will not work when DWM is disabled.
// Register a 'ctrl+x' shortcut listener.
var ret = globalShortcut.register('ctrl+x', function() { console.log('ctrl+x is pressed'); })
if (!ret)
- console.log('registerion fails');
+ console.log('registration failed');
// Check whether a shortcut is registered.
console.log(globalShortcut.isRegistered('ctrl+x'));
To use an `asar` archive to replace the `app` folder, you need to rename the
archive to `app.asar`, and put it under Electron's resources directory like
-bellow, and Electron will then try read the archive and start from it.
+below, and Electron will then try read the archive and start from it.
On OS X:
a window to provide progress information to the user without that user having to
switch to the window itself.
-The Unity DE also has a simililar feature that allows you to specify progress
-bar in the lancher.
+The Unity DE also has a similar feature that allows you to specify the progress
+bar in the launcher.
__Progress bar in taskbar button:__