Upload files to 'tool/block_cloudflare_requests_pm/src'
This commit is contained in:
parent
cc5db6f52e
commit
13e3eff7c5
|
@ -20,8 +20,8 @@ let CFBlocking = {
|
||||||
try {
|
try {
|
||||||
rayid = httpChl.getResponseHeader('cf-ray');
|
rayid = httpChl.getResponseHeader('cf-ray');
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
if (rayid.length > 3) {
|
if (rayid.length > 4 && !ignoreCF(hostN)) {
|
||||||
if (!knownCF.includes(hostN) && !ignoreCF(hostN)) {
|
if (!knownCF.includes(hostN)) {
|
||||||
knownCF.push(hostN);
|
knownCF.push(hostN);
|
||||||
}
|
}
|
||||||
httpChl.cancel(Cr.NS_BINDING_ABORTED);
|
httpChl.cancel(Cr.NS_BINDING_ABORTED);
|
||||||
|
|
Loading…
Reference in New Issue