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

Please provide comments and solutions that are helpful to the author of this topic.

Ink

Administrator
Thread author
Verified
Staff Member
Well-known
Jan 8, 2011
22,361
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?
 

Lenny_Fox

Level 22
Verified
Top Poster
Well-known
Oct 1, 2019
1,120
@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); });
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top