remove_stackexchange_cookie_popup

Remove StackOverflow cookie popup (applies to all StackExchange websites).

  1. // ==UserScript==
  2. // @name remove_stackexchange_cookie_popup
  3. // @description Remove StackOverflow cookie popup (applies to all StackExchange websites).
  4. // @version 0.2.0
  5. // @match https://*.stackoverflow.com/*
  6. // @match https://*.stackexchange.com/*
  7. // @match https://*.askubuntu.com/*
  8. // @match https://*.superuser.com/*
  9. // @match https://*.serverfault.com/*
  10. // @author ideallemming
  11. // @license MIT
  12. // @namespace https://greatest.deepsurf.us/users/1024482
  13. // ==/UserScript==
  14.  
  15. for (let popup of document.getElementsByClassName("js-consent-banner")) { popup.remove(); }