summaryrefslogtreecommitdiffstats
path: root/addon_firefox
diff options
context:
space:
mode:
authorcloudflere <cloudflere@noreply.codeberg.org>2019-07-14 16:52:17 +0200
committercloudflere <cloudflere@noreply.codeberg.org>2019-07-14 16:52:17 +0200
commita3a4f1e6440f51fefeedd9e9ae192d0b0018b65c (patch)
treeec45a83bef7d61ae6d2bdffa79f63197d4926212 /addon_firefox
parent589f65cd47c8ef1101be7753b9c2d799998606ac (diff)
downloadcloudflare-tor-a3a4f1e6440f51fefeedd9e9ae192d0b0018b65c.tar
cloudflare-tor-a3a4f1e6440f51fefeedd9e9ae192d0b0018b65c.tar.gz
cloudflare-tor-a3a4f1e6440f51fefeedd9e9ae192d0b0018b65c.tar.lz
cloudflare-tor-a3a4f1e6440f51fefeedd9e9ae192d0b0018b65c.tar.xz
cloudflare-tor-a3a4f1e6440f51fefeedd9e9ae192d0b0018b65c.zip
Upload files to 'addon_firefox/ismitmlink'
Diffstat (limited to 'addon_firefox')
-rw-r--r--addon_firefox/ismitmlink/cs.js4
-rw-r--r--addon_firefox/ismitmlink/manifest.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/addon_firefox/ismitmlink/cs.js b/addon_firefox/ismitmlink/cs.js
index e649b1e9..1471aa08 100644
--- a/addon_firefox/ismitmlink/cs.js
+++ b/addon_firefox/ismitmlink/cs.js
@@ -1,4 +1,4 @@
-if (document.body && !['searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.eu.org'].includes(location.hostname)) {
+if (document.body && !['searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.eu.org', 'api.searxes.eu.org'].includes(location.hostname)) {
let cs = (function () {
let s = document.createElement('style');
document.head.appendChild(s);
@@ -10,7 +10,7 @@ if (document.body && !['searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lw
cs.insertRule("a[data-mitm]:hover::before{content:'[\\26A1]'}", 2);
cs.insertRule("a[data-mitm]:hover{color:red !important}", 3);
}
- let asked = ['searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org'];
+ let asked = ['searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.eu.org', 'api.searxes.eu.org', 'addons.mozilla.org', 'addons.thunderbird.net', 'web.archive.org'];
document.querySelectorAll("a[href^='http://']:not([data-mitm]),a[href^='https://']:not([data-mitm]),a[href^='//']:not([data-mitm])").forEach(a => {
let aF = (new URL(a.href)).hostname;
if (!/^(.*)\.(danwin1210\.me|onion|i2p|invalid|test|local|localhost|([0-9]{1,3})|bbs|chan|cyb|dyn|geek|gopher|indy|libre|neo|null|o|oss|oz|parody|pirate|bit|lib|coin|emc|bazar|fur)$/.test(aF) && !asked.includes(aF)) {
diff --git a/addon_firefox/ismitmlink/manifest.json b/addon_firefox/ismitmlink/manifest.json
index 1da25741..dee491bd 100644
--- a/addon_firefox/ismitmlink/manifest.json
+++ b/addon_firefox/ismitmlink/manifest.json
@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Are links vulnerable to MITM attack?",
"description": "Scan FQDN using Searxes' API",
- "version": "1.0.9",
+ "version": "1.0.10",
"homepage_url": "https://codeberg.org/crimeflare/cloudflare-tor",
"author": "Maslin Bossé",
"permissions": [
@@ -33,7 +33,7 @@
"gecko": {
"id": "ismitmlink@searxes.danwin1210.me",
"strict_min_version": "56.0",
- "update_url":"https://searxes.eu.org/collab/addon/au.php?for=ismitmlink"
+ "update_url":"https://api.searxes.eu.org/_/addon.php?for=ismitmlink"
}
}
} \ No newline at end of file