From 315084cf47d53993dbcc7aa377ac04f03d24f4b3 Mon Sep 17 00:00:00 2001 From: Will Bamberg Date: Tue, 5 Jan 2016 10:26:25 -0800 Subject: [PATCH] changed to use activeTab, and workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1236500 --- beastify/manifest.json | 3 +-- beastify/popup/choose_beast.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/beastify/manifest.json b/beastify/manifest.json index bce8efa..2a38e67 100644 --- a/beastify/manifest.json +++ b/beastify/manifest.json @@ -12,8 +12,7 @@ }, "permissions": [ - "http://*/*", - "https://*/*" + "activeTab" ], "browser_action": { diff --git a/beastify/popup/choose_beast.js b/beastify/popup/choose_beast.js index 497be28..9d2b584 100644 --- a/beastify/popup/choose_beast.js +++ b/beastify/popup/choose_beast.js @@ -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) {