mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-11-12 20:32:39 +00:00
Upload files to 'addon_chrome/bcma'
This commit is contained in:
parent
401b14014a
commit
b67803d6cc
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.1",
|
"version": "1.0.1908.1",
|
||||||
"minimum_chrome_version": "60",
|
"minimum_chrome_version": "60",
|
||||||
"author": "Project BCMA",
|
"author": "Project BCMA",
|
||||||
"homepage_url": "https://codeberg.org/crimeflare/cloudflare-tor",
|
"homepage_url": "https://codeberg.org/crimeflare/cloudflare-tor",
|
||||||
@ -13,7 +13,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">
|
||||||
Temporary 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>
|
||||||
|
@ -4,24 +4,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