mirror of
https://github.com/ION606/browser-chromium.git
synced 2026-05-14 22:26:56 +00:00
backup
This commit is contained in:
+2
-1
@@ -89,7 +89,8 @@ ipcRenderer.on('tab-created', (ev, id, url = 'https://duckduckgo.com') => create
|
||||
|
||||
contextBridge.exposeInMainWorld('tabAPI', {
|
||||
ping: () => console.info('pong'),
|
||||
addTab: (url) => ipcRenderer.send('add-tab', url || 'about:blank')
|
||||
addTab: (url) => ipcRenderer.send('add-tab', url || 'about:blank'),
|
||||
newTab: (url) => ipcRenderer.send('add-tab-external', url)
|
||||
});
|
||||
|
||||
const load = async () => {
|
||||
|
||||
Reference in New Issue
Block a user