Initial commit
This commit is contained in:
commit
4e5b3a7c80
BIN
images/newWindow.png
Normal file
BIN
images/newWindow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
17
manifest.json
Normal file
17
manifest.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Tabless Fox",
|
||||
"version": "1906.1",
|
||||
|
||||
"description": "Opens every new tab as a new window.",
|
||||
|
||||
"icons": {
|
||||
"128": "images/newWindow.png"
|
||||
},
|
||||
|
||||
"permissions": ["tabs"],
|
||||
|
||||
"background": {
|
||||
"scripts": ["newWindow.js"]
|
||||
}
|
||||
}
|
5
newWindow.js
Normal file
5
newWindow.js
Normal file
@ -0,0 +1,5 @@
|
||||
function handleCreated(tab) {
|
||||
browser.windows.create({tabId: tab.id});
|
||||
}
|
||||
|
||||
browser.tabs.onCreated.addListener(handleCreated);
|
Loading…
Reference in New Issue
Block a user