🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Google - dismiss cookies warning

Agrees to the cookies dialog to make it disappear forever

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
Achernar
Installationen heute
0
Installationen gesamt
3.661
Bewertungen
7 0 0
Version
0.6
Erstellt am
02.10.2020
Letzte Aktualisierung
13.07.2022
Größe
1,08 KB
Lizenz
n/a
Wird angewandt auf

This userscript auto-agrees to the cookie warning dialog. The dialog should only appear once.

The popup is not hidden, will flash while it is dismissed by the script and disappear for ever (until you clear your cookies). It's on purpose in case the script fails and leaves you in a state where google constantly asks the same question.

If you are really fed up with cookie warnings on many sites, I suggest installing an extension that handles it automatically (including for google). I can suggest one that works well for chrome and firefox. On the add-on/extension store, search for I don't care about cookies

Note: google regularly changes the style names. This could break the userscript. Please post a comment if this is the case for you.

2021/04/02: Google has modified the display of the dialog. The script has been fixed. Report here if it still fails for you.
The new dialog is a little bit different. The remark on Firefox and the userscript managers can be disregarded if the older version of the dialog is no longer used by google.
Note for Firefox users: If you are using tampermonkey as userscript manager, this script won't work. There is a bug in Tampermonkey and Tampermonkey beta - as well as Greasemonkey - which prevents the script to be executed on the popup. Other scripts from other programmers might not work properly too; use the solution below.
Solution for Firefox: As far as I know, only one userscript manager works properly: ViolentMonkey. Feel free to install it to run this userscript.

For more userscripts, styles, extensions, tips, ..., visit my programming page.