changed to use activeTab, and workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1236500

This commit is contained in:
Will Bamberg
2016-01-05 10:26:25 -08:00
parent 91655c1078
commit 315084cf47
2 changed files with 2 additions and 3 deletions

View File

@@ -12,8 +12,7 @@
},
"permissions": [
"http://*/*",
"https://*/*"
"activeTab"
],
"browser_action": {

View File

@@ -20,7 +20,7 @@ document.addEventListener("click", function(e) {
var chosenBeast = e.target.textContent;
chrome.tabs.executeScript(null, {
file: "content_scripts/beastify.js"
file: "../content_scripts/beastify.js"
});
chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {