Google - auto-set privacy/GDPR consent cookie (dismiss consent popup)

Sets a cookie that announces to Google that consent has been given to their privacy guidelines, thus preventing the consent popup

目前為 2021-04-03 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Google - auto-set privacy/GDPR consent cookie (dismiss 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
// ==/UserScript==

document.cookie.match("(^|;)\\s*CONSENT=YES\\+")||(document.cookie="CONSENT=YES+;domain=.google.com");

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址