Created
July 17, 2018 17:03
-
-
Save CaioWzy/bde707b14012f71d8d571231a6a924c5 to your computer and use it in GitHub Desktop.
GDPR Auto Accept WASHPOST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GDPR Auto Accept WASHPOST | |
// @namespace https://github.com/CaioWzy | |
// @version 0.1 | |
// @description Auto Accept the Washington Post GDPR consent page | |
// @author CaioWzy | |
// @match https://www.washingtonpost.com/gdpr-consent/* | |
// @grant none | |
// ==/UserScript== | |
// run_at: document_idle | |
setInterval(function() { | |
document.getElementsByClassName('continue-btn')[0].click(); | |
document.getElementById('agree').click(); | |
document.getElementsByClassName('accept-consent')[0].click(); | |
}, 500); |
Could you take another look at this please, as it acting odd at times now like its having trouble clicking or getting past this consent page.
Thanks.
How so?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes this works well. Straight onto the main washpost page. Great job, thank you. I've added to tampermonkey (Opera). I'll post back here if things change as the washpost site changes.