0
0
mirror of https://git.fuwafuwa.moe/you/stop_cloudflare synced 2024-12-27 07:23:20 +01:00
This commit is contained in:
Edward Palmer 2020-11-10 08:42:10 +01:00
parent fb8376c41c
commit c258ab210c

View File

@ -2,7 +2,7 @@ let history = {};
browser.webRequest.onResponseStarted.addListener(i => { browser.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', 'crimeflare.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion', 'ansero.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion'].includes(iFQDN)) { if (['crimeflare.eu.org', 'ansero.eu.org', 'cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) {
return; return;
} }
let iServer = '?'; let iServer = '?';