diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/manifest.json | 6 | ||||
-rw-r--r-- | src/setwhitelist.html | 6 | ||||
-rw-r--r-- | src/style.css | 3 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/manifest.json b/src/manifest.json index f9417071..e168c3fa 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,12 +2,12 @@ "manifest_version": 2, "name": "Block Cloudflare MiTM Attack", "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", "permissions": ["webRequest","webRequestBlocking","<all_urls>","storage","activeTab"], "options_ui": { "page": "setwhitelist.html", - "browser_style": true + "browser_style": false }, "icons": { "32": "icons/icon-32.png", @@ -28,4 +28,4 @@ "strict_min_version": "52.0" } } -}
\ No newline at end of file +} diff --git a/src/setwhitelist.html b/src/setwhitelist.html index 4304a264..cf19c9d4 100644 --- a/src/setwhitelist.html +++ b/src/setwhitelist.html @@ -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> 1. Add FQDN you want to ignore. One FQDN per line. Click "Save".<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> [Advanced]<br> <label><input type="checkbox" id="myset_xincapsula"> Also detect and block Incapsula MiTM</label><br> @@ -15,4 +15,4 @@ <br> <input type="submit" value=" Save "> </form><script src="setwhitelist.js"></script> -</body></html>
\ No newline at end of file +</body></html> diff --git a/src/style.css b/src/style.css new file mode 100644 index 00000000..594891ef --- /dev/null +++ b/src/style.css @@ -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} |