aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bookmarks.js4
-rw-r--r--manifest.json3
2 files changed, 3 insertions, 4 deletions
diff --git a/bookmarks.js b/bookmarks.js
index 67ef1cb3..d91d54db 100644
--- a/bookmarks.js
+++ b/bookmarks.js
@@ -70,9 +70,9 @@ function activateBookmarkFindMode() {
var isABookmarklet = function(url) { return url.indexOf("javascript:") === 0; }
if (!self.newTab || isABookmarklet(url))
- window.location = url;
+ chrome.extension.sendRequest({ handler: "openUrlInCurrentTab", url: url });
else
- window.open(url);
+ chrome.extension.sendRequest({ handler: "openUrlInNewTab", url: url });
self.disable();
},
diff --git a/manifest.json b/manifest.json
index 4b14f444..954d5e35 100644
--- a/manifest.json
+++ b/manifest.json
@@ -11,8 +11,7 @@
"tabs",
"bookmarks",
"clipboardRead",
- "http://*/*",
- "https://*/*"
+ "<all_urls>"
],
"content_scripts": [
{