Skip to content

Instantly share code, notes, and snippets.

@CaioWzy
Created July 17, 2018 17:03
Show Gist options
  • Save CaioWzy/bde707b14012f71d8d571231a6a924c5 to your computer and use it in GitHub Desktop.
Save CaioWzy/bde707b14012f71d8d571231a6a924c5 to your computer and use it in GitHub Desktop.
GDPR Auto Accept WASHPOST
// ==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);
@CaioWzy
Copy link
Author

CaioWzy commented May 24, 2019

How so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment