0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-12-23 16:10:35 +00:00
This commit is contained in:
Nick McGourty 2020-11-21 03:33:23 +01:00
parent 064d6fa4db
commit 1e9a4486cf

View File

@ -2,7 +2,7 @@ let history = {};
chrome.webRequest.onResponseStarted.addListener(i => { chrome.webRequest.onResponseStarted.addListener(i => {
if ([403, 406, 410, 429, 451, 462].includes(i.statusCode)) { if ([403, 406, 410, 429, 451, 462].includes(i.statusCode)) {
let iFQDN = (new URL(i.url)).hostname; let iFQDN = (new URL(i.url)).hostname;
if (['crimeflare.eu.org', 'ansero.eu.org', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) { if (['crimeflare.eu.org', 'ansero.eu.org', 'sercxi.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) {
return; return;
} }
let iServer = '?'; let iServer = '?';