Greasy Fork is available in English.

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

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

// ==UserScript==
// @name         Google - auto-set privacy/GDPR consent cookie (prevent consent popup)
// @version      21.04.1
// @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==

if (!document.cookie.match("(^|;)\\s*CONSENT=YES\\+")) {
  document.cookie="CONSENT=YES+;domain=" + window.location.host.match("\.google\..+$")[0];
}