electron reload html
const {getCurrentWindow, globalShortcut} = require('electron').remote;
var reload = ()=>{
getCurrentWindow().reload()
}
globalShortcut.register('F5', reload);
globalShortcut.register('CommandOrControl+R', reload);
// here is the fix bug #3778, if you know alternative ways, please write them
window.addEventListener('beforeunload', ()=>{
globalShortcut.unregister('F5', reload);
globalShortcut.unregister('CommandOrControl+R', reload);
})
Also in HTML:
- html send email
- new line html
- how to insert degree symbol in html
- html button type
- html hyperlink with question mark in a form action
- how to justify text in html
- m3u8 ffmpeg download
- how to create password input in html
- how to link javascript to html
- Finding HTML Elements
- how to make a html login
- how to add border to a text in html with javascript
- vue toggle class
- html boilerplate vscode
- bootstrap 3 form
- html website
- coronavirus
- center header html
- html ul types
- text color html
- emmet vscode document
- meta tags
- what is a fieldset html
- ionic button