// ==UserScript== // @name Google - auto-set privacy/GDPR consent cookie (prevent consent popup) // @version 21.04.0 // @description Sets a cookie that announces to Google that consent has been given to their privacy guidelines, thus preventing the consent popup // @author squarewf // @namespace https://github.com/squarewf // @match https://*.google.*/* // @run-at document-start // @grant none // @downloadURL none // ==/UserScript== document.cookie.match("(^|;)\\s*CONSENT=YES\\+")||(document.cookie="CONSENT=YES+;domain=.google.com");