From 762a52aee6d56834fda233dd5cf1d2098058a960 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Wed, 8 May 2019 17:48:50 -0400 Subject: [PATCH] Prefer a background script to a page in the webext Now that the page is no longer necessary. --- proxy/webext/manifest.json | 2 +- proxy/webext/snowflake.html | 13 ------------- proxy/webext/tmp.js | 2 -- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 proxy/webext/snowflake.html delete mode 100644 proxy/webext/tmp.js diff --git a/proxy/webext/manifest.json b/proxy/webext/manifest.json index f0f671d..a86d4af 100644 --- a/proxy/webext/manifest.json +++ b/proxy/webext/manifest.json @@ -4,7 +4,7 @@ "version": "0.0.0", "description": "Snowflake ...", "background": { - "page": "snowflake.html", + "scripts": ["snowflake.js"], "persistent": true }, "browser_action": { diff --git a/proxy/webext/snowflake.html b/proxy/webext/snowflake.html deleted file mode 100644 index 6d28fe6..0000000 --- a/proxy/webext/snowflake.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - -
- - diff --git a/proxy/webext/tmp.js b/proxy/webext/tmp.js deleted file mode 100644 index 4bd0a10..0000000 --- a/proxy/webext/tmp.js +++ /dev/null @@ -1,2 +0,0 @@ -// FIXME: Refactor snowflake.js to eliminate the need for this -document.cookie = "snowflake-allow=1";