make the bookmarks part of a subdirectory
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# This file was created by https://github.com/mozilla/web-ext
|
||||
# Your auto-generated extension ID for addons.mozilla.org is:
|
||||
i2ppb@eyedeekay.github.io
|
||||
26
bookmarks.js
26
bookmarks.js
@@ -10,14 +10,14 @@ gettingInfo.then(got => {
|
||||
if (port == "7644") {
|
||||
let createRhizomeBookmark = browser.bookmarks.create({
|
||||
url: "about:I2p",
|
||||
title: "Home Page",
|
||||
title: "I2P Extension Home Page",
|
||||
parentId: bookmarkToolbar[0].id
|
||||
});
|
||||
createRhizomeBookmark.then(onCreated);
|
||||
} else {
|
||||
let createBookmark = browser.bookmarks.create({
|
||||
url: browser.runtime.getURL("home.html"),
|
||||
title: "Home Page",
|
||||
title: "I2P Extension Home Page",
|
||||
parentId: bookmarkToolbar[0].id
|
||||
});
|
||||
createBookmark.then(onCreated);
|
||||
@@ -152,7 +152,7 @@ gettingInfo.then(got => {
|
||||
}
|
||||
|
||||
var b0 = browser.bookmarks.search({
|
||||
title: "I2P Home Page"
|
||||
title: "I2P Extension Home Page"
|
||||
});
|
||||
b0.then(bookHome, onRejected);
|
||||
|
||||
@@ -180,8 +180,26 @@ gettingInfo.then(got => {
|
||||
var bt = browser.bookmarks.search({
|
||||
query: "Toolbar"
|
||||
});
|
||||
|
||||
function toolDir(bookmarkToolbar){
|
||||
var ibt = browser.bookmarks.search("I2P Toolbar");
|
||||
function setupDir(ibt){
|
||||
if (ibt[0] == null) {
|
||||
let createBookmark = browser.bookmarks.create({
|
||||
title: "I2P Toolbar",
|
||||
parentId: bookmarkToolbar[0].id
|
||||
});
|
||||
createBookmark.then(onCreated);
|
||||
}
|
||||
}
|
||||
ibt.then(setupDir);
|
||||
}
|
||||
|
||||
bt.then(bookmarks);
|
||||
bt.then(toolDir)
|
||||
|
||||
var ibt = browser.bookmarks.search("I2P Toolbar");
|
||||
|
||||
ibt.then(bookmarks);
|
||||
|
||||
function handleCreated(id, bookmarkInfo) {
|
||||
//var propValue;
|
||||
|
||||
12
debian/changelog
vendored
12
debian/changelog
vendored
@@ -1,3 +1,15 @@
|
||||
i2psetproxy.js (0.73-1) UNRELEASED; urgency=low
|
||||
|
||||
* Fix incomplete bugfix from 0.71
|
||||
|
||||
-- idk <hankhill19580@gmail.com> Mon, 22 JUN 2020 19:21:23 -0400
|
||||
|
||||
i2psetproxy.js (0.71-1) UNRELEASED; urgency=low
|
||||
|
||||
* Fix incomplete bugfix from 0.69
|
||||
|
||||
-- idk <hankhill19580@gmail.com> Tue, 24 MAR 2020 0:19:59 -0400
|
||||
|
||||
i2psetproxy.js (0.71-1) UNRELEASED; urgency=low
|
||||
|
||||
* Fix incomplete bugfix from 0.69
|
||||
|
||||
Binary file not shown.
@@ -26,8 +26,8 @@
|
||||
],
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_extensionName__",
|
||||
"version": "0.71",
|
||||
"version_name": "0.71",
|
||||
"version": "0.73",
|
||||
"version_name": "0.73",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"homepage_url": "https://github.com/eyedeekay/I2P-in-Private-Browsing-Mode-Firefox",
|
||||
"icons": {
|
||||
|
||||
Reference in New Issue
Block a user