From 2e783dd2ec9f43a6294a0a594ee685aa3af869d7 Mon Sep 17 00:00:00 2001 From: Roy Tam Date: Sat, 30 Jun 2018 08:01:25 +0800 Subject: [PATCH] import changes from tenfourfox: - another host for basic adblock (c3c85077c) - more hosts for adblock (52f6389ca) --- caps/nsScriptSecurityManager.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/caps/nsScriptSecurityManager.cpp b/caps/nsScriptSecurityManager.cpp index b872df2f1..ea1ac3f2b 100644 --- a/caps/nsScriptSecurityManager.cpp +++ b/caps/nsScriptSecurityManager.cpp @@ -1005,6 +1005,7 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal, BLOK("cdata.carambo.la") || BLOK("route.carambo.la") || + // Avoid blocking specific tags BLOK("us-u.openx.net") || BLOK("uk-ads.openx.net") || BLOK("us-ads.openx.net") || @@ -1111,6 +1112,19 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal, BLOK("bob.dmpxs.com") || BLOK("api.traq.li") || + + BLOK("s.zkcdn.net") || + + BLOK("s1.listrakbi.com") || + BLOK("at1.listrakbi.com") || + BLOK("cdn.listrakbi.com") || + BLOK("onescript-recscont.listrakbi.com") || + + BLOK("js.matheranalytics.com") || + + BLOK("secure-cdn.mplxtms.com") || + + BLOK("usadmm.dotomi.com") || 0) { #undef BLOK // Yup.