mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-12-23 16:10:35 +00:00
bg.js
This commit is contained in:
parent
b7992041e3
commit
4f72956648
@ -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', 'sercxi.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) {
|
if (['sercxi.eu.org', 'ansero.eu.org', 'sercxi.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion', 'ansero.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion'].includes(iFQDN)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let iServer = '?';
|
let iServer = '?';
|
||||||
|
Loading…
Reference in New Issue
Block a user