mirror of
https://github.com/ION606/browser-chromium.git
synced 2026-05-14 22:26:56 +00:00
added permissions for website
This commit is contained in:
@@ -15,6 +15,7 @@ export default async function setUpShortcuts(uid) {
|
||||
// getCurrentWindow().isFocused() ? getCurrentTab()?.toggleDevTools() : null
|
||||
});
|
||||
globalShortcut.register('Control+H', () => getCurrentTab()?.webContents.executeJavaScript('window.electronAPI.displayHistory()'));
|
||||
globalShortcut.register('Control+P', () => getCurrentTab()?.webContents.print());
|
||||
|
||||
// zoom
|
||||
globalShortcut.register('Control+=', () => changeZoom(getCurrentTab(), true));
|
||||
|
||||
Reference in New Issue
Block a user