Skip to content

Instantly share code, notes, and snippets.

@seungwonpark
Last active July 11, 2018 01:46
Show Gist options
  • Save seungwonpark/4b794299306f56f2f7a9fea812643242 to your computer and use it in GitHub Desktop.
Save seungwonpark/4b794299306f56f2f7a9fea812643242 to your computer and use it in GitHub Desktop.
StackOverflow GDPR consent banner hider
// hide annoying GDPR banner at stackoverflow / stackexchange
// add this script at tampermonkey
// ==UserScript==
// @name StackOverflow GDPR consent banner hider
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Hide GDPR consent banner
// @author Seungwon Park (veydpz)
// @match https://*.stackexchange.com/*
// @match https://stackoverflow.com/*
// @match https://askubuntu.com/*
// @grant none
// ==/UserScript==
(function() {
var div = document.getElementById("js-gdpr-consent-banner");
if (div) {
div.style.display = "none";
}
})();
@seungwonpark
Copy link
Author

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