pages/search: prevent history pollution

This commit is contained in:
He4eT 2024-01-23 03:44:47 +01:00
commit e8f5b3cda9
3 changed files with 42 additions and 7 deletions

View file

@ -0,0 +1,3 @@
export const registerTab = () => {
browser.runtime.sendMessage({action: 'registerSender'})
}

View file

@ -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)