Upload files to 'tool/block_cloudflare_requests_pm/src'

This commit is contained in:
Domesday 2021-04-14 10:08:46 +00:00
parent cc5db6f52e
commit 13e3eff7c5
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ let CFBlocking = {
try {
rayid = httpChl.getResponseHeader('cf-ray');
} catch (e) {}
if (rayid.length > 3) {
if (!knownCF.includes(hostN) && !ignoreCF(hostN)) {
if (rayid.length > 4 && !ignoreCF(hostN)) {
if (!knownCF.includes(hostN)) {
knownCF.push(hostN);
}
httpChl.cancel(Cr.NS_BINDING_ABORTED);