Skip to content

Instantly share code, notes, and snippets.

@CaioWzy
Created July 17, 2018 17:03
Show Gist options
  • Select an option

  • Save CaioWzy/bde707b14012f71d8d571231a6a924c5 to your computer and use it in GitHub Desktop.

Select an option

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

CaioWzy commented May 24, 2019

Copy link
Copy Markdown
Author

How so?

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