mirror of
https://github.com/He4eT/tabswitcher.git
synced 2026-05-05 01:17:23 +00:00
background.js: init
This commit is contained in:
parent
bb4c82deac
commit
b6a89a2713
2 changed files with 7 additions and 0 deletions
4
background.js
Normal file
4
background.js
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
browser.action.onClicked.addListener((() =>
|
||||||
|
browser.tabs.create({
|
||||||
|
url: 'https://oddsquat.org'
|
||||||
|
})))
|
||||||
|
|
@ -2,6 +2,9 @@
|
||||||
"action": {
|
"action": {
|
||||||
"default_title": "Tabswitcher"
|
"default_title": "Tabswitcher"
|
||||||
},
|
},
|
||||||
|
"background": {
|
||||||
|
"scripts": ["background.js"]
|
||||||
|
},
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "tabswitcher@oddsquat.org",
|
"id": "tabswitcher@oddsquat.org",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue