mirror of
https://github.com/He4eT/tabswitcher.git
synced 2026-05-04 17:07:23 +00:00
pages/search: prevent history pollution
This commit is contained in:
parent
adf6ab3305
commit
e8f5b3cda9
3 changed files with 42 additions and 7 deletions
3
pages/search/modules/bridge.js
Normal file
3
pages/search/modules/bridge.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const registerTab = () => {
|
||||
browser.runtime.sendMessage({action: 'registerSender'})
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
import * as Store from './modules/store.js'
|
||||
import * as bridge from './modules/bridge.js'
|
||||
import * as dom from './modules/dom.js'
|
||||
import * as inputHandlers from './modules/inputHandlers.js'
|
||||
|
||||
|
|
@ -12,5 +13,7 @@ const store = Store.init({
|
|||
},
|
||||
})
|
||||
|
||||
void inputHandlers.attachInputHandlers(store)
|
||||
void bridge.registerTab()
|
||||
void dom.enableFaviconFallback()
|
||||
|
||||
void inputHandlers.attachInputHandlers(store)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue