Advice Request Quantcast - Manage My Consent & How to Block / Hide Consent Box?

Share practical recommendations that address the author's needs.

Ink

Administrator
Verified
More sites should use this style of consent [Deny All] and [Accept and Move On]

1588882218438.png


And less of this [More Options] and [I Accept]

1588882245615.png


What's a good method to Hide or Block these Consent boxes?
 
@Spawn the @Gandalf_The_Grey approach is the easy solution

Nice thing of AdGuard (even the extension) is that you can include JavaScript API in blocklists to block these type of pop-ups.
! JS API START
#%#var AG_onLoad=function(func){if(document.readyState==="complete"||document.readyState==="interactive")func();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",func);else if(document.attachEvent)document.attachEvent("DOMContentLoaded",func)};
! JS API FINISH
!

I block a news website (nu.nl) using the AG_unload

nu.nl#%#AG_onLoad(function() { setTimeout(function() { var el=document.querySelector('a#sanoma-consent-accept-button'); if(el) el.click(); }, 300); });
 

Recently browsing

Members who viewed this thread in the last 5 minutes

Back
Top