Prefer a background script to a page in the webext

Now that the page is no longer necessary.
This commit is contained in:
Arlo Breault 2019-05-08 17:48:50 -04:00
parent dad53932a2
commit 762a52aee6
3 changed files with 1 additions and 16 deletions

View file

@ -4,7 +4,7 @@
"version": "0.0.0",
"description": "Snowflake ...",
"background": {
"page": "snowflake.html",
"scripts": ["snowflake.js"],
"persistent": true
},
"browser_action": {

View file

@ -1,13 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- FIXME: Use a "script" instead of a "page" in the manifest.json -->
<script src="tmp.js"></script>
<script src="snowflake.js"></script>
</head>
<body>
<!-- FIXME: Refactor snowflake.js to eliminate the need for this -->
<div id="webext" />
</body>
</html>

View file

@ -1,2 +0,0 @@
// FIXME: Refactor snowflake.js to eliminate the need for this
document.cookie = "snowflake-allow=1";