Initial commit

This commit is contained in:
Fierelier 2019-06-05 07:06:22 +02:00
commit 4e5b3a7c80
3 changed files with 22 additions and 0 deletions

BIN
images/newWindow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

17
manifest.json Normal file
View 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
View File

@ -0,0 +1,5 @@
function handleCreated(tab) {
browser.windows.create({tabId: tab.id});
}
browser.tabs.onCreated.addListener(handleCreated);