make toopie.html a sidebar instead of a page

This commit is contained in:
idk
2020-01-14 17:11:23 -05:00
parent ba8e45d878
commit 2be96865b6
5 changed files with 13 additions and 5 deletions

View File

@@ -286,3 +286,4 @@ rss: torrent
upload-rss:
gothub upload -R -u eyedeekay -r I2P-in-Private-Browsing-Mode-Firefox -t docs -n "releases.atom" -f releases.atom

View File

@@ -3,6 +3,10 @@
"message": "I2P In Private Browsing",
"description": "Name of the extension."
},
"toopieName": {
"message": "toopie.html",
"description": "Name of the sidebar."
},
"extensionDescription": {
"message": "Your browser is now set up to use I2P.",
"description": "Description of the extension."

BIN
icons/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -177,11 +177,8 @@ function goToopie() {
function onTabError() {
console.log("Toopie tab created");
}
let createData = {
url: "toopie.html"
};
console.log("visiting toopie");
let creating = browser.tabs.create(createData);
let creating = browser.sidebarAction.open();
creating.then(onTabCreated, onTabError);
}

View File

@@ -27,7 +27,7 @@
"version": "0.57",
"version_name": "0.57",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://github.com/eyedeekay/i2psetproxy.js",
"homepage_url": "https://github.com/eyedeekay/I2P-in-Private-Browsing-Mode-Firefox",
"icons": {
"48": "icons/toopie.png"
},
@@ -37,6 +37,12 @@
"default_title": "__MSG_extensionName__",
"default_popup": "window.html"
},
"sidebar_action": {
"browser_style": true,
"default_icon": "icons/logo.png",
"default_title": "__MSG_toopieName__",
"default_panel": "toopie.html"
},
"options_ui": {
"page": "options/options.html"
},