summaryrefslogtreecommitdiffstats
path: root/addon_firefox
diff options
context:
space:
mode:
authorlocalhost <local@hos.t>2019-05-18 10:50:29 +0000
committerlocalhost <local@hos.t>2019-05-18 10:50:29 +0000
commit9d0c36d75bdd1ec39dbcc5a65ecfe035a0f10886 (patch)
tree9c8f83b63f6e7028aab3a0dbf469a454cb229f45 /addon_firefox
parente3589367bae98ccb011105bfc484544158297015 (diff)
downloadcloudflare-tor-9d0c36d75bdd1ec39dbcc5a65ecfe035a0f10886.tar
cloudflare-tor-9d0c36d75bdd1ec39dbcc5a65ecfe035a0f10886.tar.gz
cloudflare-tor-9d0c36d75bdd1ec39dbcc5a65ecfe035a0f10886.tar.lz
cloudflare-tor-9d0c36d75bdd1ec39dbcc5a65ecfe035a0f10886.tar.xz
cloudflare-tor-9d0c36d75bdd1ec39dbcc5a65ecfe035a0f10886.zip
Upload files to 'addon_firefox/ismitmlink'
Diffstat (limited to 'addon_firefox')
-rw-r--r--addon_firefox/ismitmlink/bg.js2
-rw-r--r--addon_firefox/ismitmlink/cs.js4
-rw-r--r--addon_firefox/ismitmlink/manifest.json4
3 files changed, 5 insertions, 5 deletions
diff --git a/addon_firefox/ismitmlink/bg.js b/addon_firefox/ismitmlink/bg.js
index 61ad2383..f8258147 100644
--- a/addon_firefox/ismitmlink/bg.js
+++ b/addon_firefox/ismitmlink/bg.js
@@ -1,4 +1,4 @@
-let apiurl = 'https://searxes.danwin1210.me/collab/open/ismitm.php';
+let apiurl = 'https://searxes.eu.org/collab/open/ismitm.php';
let TORapiurl = 'http://searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion/collab/open/ismitm.php';
fetch('http://searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion/collab/open/ok', {
diff --git a/addon_firefox/ismitmlink/cs.js b/addon_firefox/ismitmlink/cs.js
index fdc2fe02..29679564 100644
--- a/addon_firefox/ismitmlink/cs.js
+++ b/addon_firefox/ismitmlink/cs.js
@@ -1,4 +1,4 @@
-if (document.body && !['searxes.danwin1210.me', 'searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.cyb'].includes(location.hostname)) {
+if (document.body && !['searxes.danwin1210.me', 'searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', '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.danwin1210.me', 'searxes.nmqnkngye4ct7bgss4bmv5c
cs.insertRule("a[data-mitm]:hover::before{content:'[\\26A1]'}", 2);
cs.insertRule("a[data-mitm]:hover{color:red !important}", 3);
}
- let asked = ['searxes.danwin1210.me', 'searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.cyb', 'addons.mozilla.org'];
+ let asked = ['searxes.danwin1210.me', 'searxes.nmqnkngye4ct7bgss4bmv5ca3wpa55yugvxen5kz2bbq67lwy6ps54yd.onion', 'searxes.eu.org', 'addons.mozilla.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 (!/^(.*)\.(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 5b4b7913..62a995ee 100644
--- a/addon_firefox/ismitmlink/manifest.json
+++ b/addon_firefox/ismitmlink/manifest.json
@@ -2,8 +2,8 @@
"manifest_version": 2,
"name": "Are links vulnerable to MITM attack?",
"description": "Scan FQDN using Searxes' API",
- "version": "1.0.5",
- "homepage_url": "https://notabug.org/themusicgod1/cloudflare-tor",
+ "version": "1.0.6",
+ "homepage_url": "https://notabug.org/crimeflare/cloudflare-tor",
"author": "Maslin Bossé",
"permissions": [
"storage",