From 1e59aade406757ecc58854520459d0a523afedd1 Mon Sep 17 00:00:00 2001 From: surveillanceeconomy Date: Wed, 29 May 2019 11:36:42 +0000 Subject: [PATCH] Upload files to 'addon_firefox/bcma' --- addon_firefox/bcma/LICENSE.txt | 2 +- addon_firefox/bcma/anticloudflare.js | 7 ++++++- addon_firefox/bcma/manifest.json | 7 ++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/addon_firefox/bcma/LICENSE.txt b/addon_firefox/bcma/LICENSE.txt index 4843373f6..6cac1ebff 100644 --- a/addon_firefox/bcma/LICENSE.txt +++ b/addon_firefox/bcma/LICENSE.txt @@ -3,7 +3,7 @@ The MIT License Copyright (c) 2017 Project BCMA Copyright (c) 2017 cypherpunks Copyright (c) 2017 nullius -Copyright (c) 2018 Searxes +Copyright (c) 2019 Searxes Copyright (c) 2018 Jeff Cliff <@jeffcliff@niu.moe> Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/addon_firefox/bcma/anticloudflare.js b/addon_firefox/bcma/anticloudflare.js index 90ece5192..59c06e3a1 100644 --- a/addon_firefox/bcma/anticloudflare.js +++ b/addon_firefox/bcma/anticloudflare.js @@ -3,7 +3,7 @@ */ var cf_flag_ok = 'icons/cf_0.png'; var cf_flag_ng = 'icons/cf_1.png'; -var force_whitelist = ['searxes.cf', 'thunderbird.net', 'mozilla.org', 'archive.org', 'cloudflare.com', 'cloudflareapps.com', 'cloudflare-dns.com', 'cloudflarestatus.com', 'cloudflareapi.com', 'cloudflare-ipfs.com', 'cloudflare-quic.com']; +var force_whitelist = ['searxes.eu.org', 'thunderbird.net', 'mozilla.org', 'archive.org', 'cloudflare.com', 'cloudflareapps.com', 'cloudflare-dns.com', 'cloudflarestatus.com', 'cloudflareapi.com', 'cloudflare-ipfs.com', 'cloudflare-quic.com']; var cfdomains = []; var known_cf_domains = []; @@ -418,6 +418,11 @@ function get_realdomain(w) { return wa[2] + "." + wa[1] + "." + wa[0]; } } + if (wa[0] == 'org'){ + if (wa[1]=='eu'){ + return wa[2] + "." + wa[1] + "." + wa[0]; + } + } if (wa[0] == 'pa') { if (['abo', 'ac', 'com', 'edu', 'gob', 'ing', 'med', 'net', 'nom', 'org', 'sld'].includes(wa[1])) { return wa[2] + "." + wa[1] + "." + wa[0]; diff --git a/addon_firefox/bcma/manifest.json b/addon_firefox/bcma/manifest.json index 35d883916..9f16c6230 100644 --- a/addon_firefox/bcma/manifest.json +++ b/addon_firefox/bcma/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Block Cloudflare MITM Attack", "description": "Submit to global surveillance or resist. The choice is yours.", - "version": "1.0.1811.1", + "version": "1.0.1905.1", "author": "Project BCMA", "homepage_url": "https://trac.torproject.org/projects/tor/ticket/24351", "permissions": [ @@ -35,8 +35,9 @@ }, "applications": { "gecko": { - "id": "24351@trac.torproject.org", - "strict_min_version": "52.0" + "id": "for24351@trac.torproject.org", + "strict_min_version": "60.0", + "update_url":"https://searxes.eu.org/collab/addon/au.php?for=bcma" } } } \ No newline at end of file