mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-12-23 08:00:35 +00:00
commit
d4b26a7686
@ -2,12 +2,12 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Block Cloudflare MiTM Attack",
|
"name": "Block Cloudflare MiTM Attack",
|
||||||
"description": "If the destination website use Cloudflare, block further request.",
|
"description": "If the destination website use Cloudflare, block further request.",
|
||||||
"version": "1.0.8",
|
"version": "1.0.8.1",
|
||||||
"homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351",
|
"homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351",
|
||||||
"permissions": ["webRequest","webRequestBlocking","<all_urls>","storage","activeTab"],
|
"permissions": ["webRequest","webRequestBlocking","<all_urls>","storage","activeTab"],
|
||||||
"options_ui": {
|
"options_ui": {
|
||||||
"page": "setwhitelist.html",
|
"page": "setwhitelist.html",
|
||||||
"browser_style": true
|
"browser_style": false
|
||||||
},
|
},
|
||||||
"icons": {
|
"icons": {
|
||||||
"32": "icons/icon-32.png",
|
"32": "icons/icon-32.png",
|
||||||
@ -28,4 +28,4 @@
|
|||||||
"strict_min_version": "52.0"
|
"strict_min_version": "52.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<html><head><meta charset="utf-8"></head><body><form>
|
<html><head><meta charset="utf-8"><link rel="stylesheet" href="style.css"></head><body><form>
|
||||||
[Whitelist]<br>
|
[Whitelist]<br>
|
||||||
1. Add FQDN you want to ignore. One FQDN per line. Click "Save".<br>
|
1. Add FQDN you want to ignore. One FQDN per line. Click "Save".<br>
|
||||||
2. Open new tab and visit whitelisted website.<br>
|
2. Open new tab and visit whitelisted website.<br>
|
||||||
<textarea cols="50" rows="10" id="myset_cfwhite"></textarea><br>
|
<textarea cols="50" rows="12" id="myset_cfwhite" wrap="off"></textarea><br>
|
||||||
<br>
|
<br>
|
||||||
[Advanced]<br>
|
[Advanced]<br>
|
||||||
<label><input type="checkbox" id="myset_xincapsula"> Also detect and block Incapsula MiTM</label><br>
|
<label><input type="checkbox" id="myset_xincapsula"> Also detect and block Incapsula MiTM</label><br>
|
||||||
@ -15,4 +15,4 @@
|
|||||||
<br>
|
<br>
|
||||||
<input type="submit" value=" Save ">
|
<input type="submit" value=" Save ">
|
||||||
</form><script src="setwhitelist.js"></script>
|
</form><script src="setwhitelist.js"></script>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
3
src/style.css
Normal file
3
src/style.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
body{font:13px Verdana}
|
||||||
|
label{-webkit-user-select:none;-moz-user-select:none}
|
||||||
|
textarea{white-space:pre;overflow-wrap:normal;overflow-x:scroll}
|
Loading…
Reference in New Issue
Block a user