make toopie.html a sidebar instead of a page
This commit is contained in:
1
Makefile
1
Makefile
@@ -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
|
||||
|
||||
|
||||
@@ -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
BIN
icons/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
5
info.js
5
info.js
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user