mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-11-13 21:02:40 +00:00
Upload files to 'addon_firefox/bcma'
This commit is contained in:
parent
142e4d38d2
commit
401b14014a
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Block Cloudflare MITM Attack",
|
"name": "Block Cloudflare MITM Attack",
|
||||||
"description": "Submit to global surveillance or resist. The choice is yours.",
|
"description": "Submit to global surveillance or resist. The choice is yours.",
|
||||||
"version": "1.0.1907.2",
|
"version": "1.0.1908.1",
|
||||||
"author": "Project BCMA",
|
"author": "Project BCMA",
|
||||||
"homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351",
|
"homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
@ -11,7 +11,8 @@
|
|||||||
"tabs",
|
"tabs",
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"webNavigation"
|
"webNavigation",
|
||||||
|
"storage"
|
||||||
],
|
],
|
||||||
"icons": {
|
"icons": {
|
||||||
"32": "icons/icon-32.png",
|
"32": "icons/icon-32.png",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
</head>
|
</head>
|
||||||
<body style="display:none">
|
<body style="display:none">
|
||||||
<i>Temporary</i> configurations
|
Configurations
|
||||||
<hr>
|
<hr>
|
||||||
<b>♞ Take Action</b><br>
|
<b>♞ Take Action</b><br>
|
||||||
<label><input type="radio" id="ta0" name="ta" value="0"> Block request immediately <small>(first-party + third-party)</small></label><br>
|
<label><input type="radio" id="ta0" name="ta" value="0"> Block request immediately <small>(first-party + third-party)</small></label><br>
|
||||||
@ -13,7 +13,7 @@
|
|||||||
<label><input type="radio" id="ta3" name="ta" value="3"> Notify only</label><br>
|
<label><input type="radio" id="ta3" name="ta" value="3"> Notify only</label><br>
|
||||||
<br>
|
<br>
|
||||||
<b>✍ Your Cloudflare Domain collection</b> <small>(Last 500)</small><br>
|
<b>✍ Your Cloudflare Domain collection</b> <small>(Last 500)</small><br>
|
||||||
<small>(please share with <a href="https://codeberg.org/crimeflare/cloudflare-tor" target="_blank">cloudflare-tor@crimeflare</a>)</small><br>
|
<small>(please share with <a href="https://codeberg.org/crimeflare/cloudflare-tor/src/branch/master/instructions.md" target="_blank">cloudflare-tor@crimeflare</a>)</small><br>
|
||||||
<textarea cols="50" rows="12" id="t" wrap="off" spellcheck="false" placeholder="Cloudflare domains"></textarea>
|
<textarea cols="50" rows="12" id="t" wrap="off" spellcheck="false" placeholder="Cloudflare domains"></textarea>
|
||||||
<br>
|
<br>
|
||||||
<button type="button" id="exp">[ ⇓ Export ]</button>
|
<button type="button" id="exp">[ ⇓ Export ]</button>
|
||||||
|
@ -8,24 +8,25 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
document.getElementById('t').value = JSON.parse(r[1]).join("\n");
|
document.getElementById('t').value = JSON.parse(r[1]).join("\n");
|
||||||
document.getElementById('g').value = JSON.parse(r[2]).join("\n");
|
document.getElementById('g').value = JSON.parse(r[2]).join("\n");
|
||||||
switch (r[3]) {
|
switch (r[3]) {
|
||||||
|
case 0:
|
||||||
|
document.getElementById('ta0').checked = true;
|
||||||
|
document.getElementById('ta1').checked = false;
|
||||||
|
document.getElementById('ta2').checked = false;
|
||||||
|
document.getElementById('ta3').checked = false;
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
document.getElementById('ta0').checked = false;
|
document.getElementById('ta0').checked = false;
|
||||||
document.getElementById('ta1').checked = true;
|
document.getElementById('ta1').checked = true;
|
||||||
document.getElementById('ta2').checked = false;
|
document.getElementById('ta2').checked = false;
|
||||||
document.getElementById('ta3').checked = false;
|
document.getElementById('ta3').checked = false;
|
||||||
break;
|
break;
|
||||||
case 2:
|
|
||||||
document.getElementById('ta0').checked = false;
|
|
||||||
document.getElementById('ta1').checked = false;
|
|
||||||
document.getElementById('ta2').checked = true;
|
|
||||||
document.getElementById('ta3').checked = false;
|
|
||||||
break;
|
|
||||||
case 3:
|
case 3:
|
||||||
document.getElementById('ta0').checked = false;
|
document.getElementById('ta0').checked = false;
|
||||||
document.getElementById('ta1').checked = false;
|
document.getElementById('ta1').checked = false;
|
||||||
document.getElementById('ta2').checked = false;
|
document.getElementById('ta2').checked = false;
|
||||||
document.getElementById('ta3').checked = true;
|
document.getElementById('ta3').checked = true;
|
||||||
break;
|
break;
|
||||||
|
case 2:
|
||||||
default:
|
default:
|
||||||
document.getElementById('ta0').checked = false;
|
document.getElementById('ta0').checked = false;
|
||||||
document.getElementById('ta1').checked = false;
|
document.getElementById('ta1').checked = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user