mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 14:11:23 -04:00
Prefer a background script to a page in the webext
Now that the page is no longer necessary.
This commit is contained in:
parent
dad53932a2
commit
762a52aee6
3 changed files with 1 additions and 16 deletions
|
@ -4,7 +4,7 @@
|
|||
"version": "0.0.0",
|
||||
"description": "Snowflake ...",
|
||||
"background": {
|
||||
"page": "snowflake.html",
|
||||
"scripts": ["snowflake.js"],
|
||||
"persistent": true
|
||||
},
|
||||
"browser_action": {
|
||||
|
|
|
@ -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>
|
|
@ -1,2 +0,0 @@
|
|||
// FIXME: Refactor snowflake.js to eliminate the need for this
|
||||
document.cookie = "snowflake-allow=1";
|
Loading…
Add table
Add a link
Reference in a new issue