0
0
mirror of https://git.sdf.org/deCloudflare/deCloudflare/ synced 2024-06-07 14:50:47 +00:00
This commit is contained in:
Tom Lam 2021-04-14 10:39:54 +00:00
parent 75bfc63009
commit 0119f099a0

View File

@ -1,7 +1,7 @@
const Cc = Components.classes, const Cc = Components.classes,
Ci = Components.interfaces; Ci = Components.interfaces;
function ignoreCF(h) { function ignoreCF(h) {
return /(cloudflare(\-(dns|free|ipfs|quic)|(support|warp)))\.com$/.test(h) ? true : false; return /(cloudflare((|support|warp)|\-(dns|free|ipfs|quic)))\.com$/.test(h) ? true : false;
} }
let knownCF = []; let knownCF = [];
let CFBlocking = { let CFBlocking = {