[Resolved] Missed social widgets - huffingtonpost.com

seanl

Well-Known Member
This website is using Sourcepoint anti-adblock, it is likely that our stylesheet is tampered by it.
 

seanl

Well-Known Member
Added to English filter:
Code:
huffingtonpost.com#%#(function(b,d,e){function a(){}b={get:function(){return a},set:a},d={};Object.defineProperties(d,{spid_control_callback:b,content_control_callback:b,vid_control_callback:b});e=new Proxy({},{get:function(a,c){switch(c){case "config":return d;case "_setSpKey":throw Error();default:return a[c]}},set:function(a,c,b){switch(c){case "config":return!0;case "bootstrap":case "mms":return a[c]=b,!0;default:throw Error();}}});Object.defineProperty(window,"_sp_",{get:function(){return e},set:a})})();
Added to Spyware filter:
Code:
||b.huffingtonpost.com^
Added to Annoyance filter:
Code:
huffingtonpost.co.uk##.newsletter-toaster
Please, check the result.
 

avatar

Administrator
Staff member
Administrator
I suppose, that for desktop AG it'd be better to remove the script:
Code:
huffingtonpost.com$$script[tag-content="window._sp_.config"]
Also, instead of JS rule, we can simply block SP scripts:
Code:
||modulous.huffpost.com/*-sp-msg.js
||modulous.huffpost.com/*-sp-mms.js
 

seanl

Well-Known Member
Also, instead of JS rule, we can simply block SP scripts:
Code:
||modulous.huffpost.com/*-sp-msg.js
||modulous.huffpost.com/*-sp-mms.js
This is dangerous, it is dangerous to block any such urls that the _sp_ script load. It will be okay with AG for Windows as they can't detect if it is blocked, however it will be detected when blocked by browser extensions, and window._sp_.config.content_control_callback function will be called.
In case of huffingtonpost.com,
Code:
window._sp_.config.content_control_callback = function() {
  //window.location.href = '/static/sp-block';
  };
so apparently they considered redirecting users to a separate page as soon as such scripts are blocked. There are other websites that actually do redirecting to a adblock detection screen with window._sp_.config.content_control_callback.

Given that we need JS rules anyway for browser extensions, we don't need to additional $$ rules.
 
Top