Initial commit
This commit is contained in:
commit
4e5b3a7c80
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
|
@ -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"]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
function handleCreated(tab) {
|
||||||
|
browser.windows.create({tabId: tab.id});
|
||||||
|
}
|
||||||
|
|
||||||
|
browser.tabs.onCreated.addListener(handleCreated);
|
Loading…
Reference in New Issue