Greasy Fork

来自缓存

Greasy Fork is available in English.

Google Shut Up! Stop Annoying Cookies Request!

try to take over the world!

目前为 2020-09-03 提交的版本。查看 最新版本

// ==UserScript==
// @name         Google Shut Up! Stop Annoying Cookies Request!
// @namespace    http://tampermonkey.net/
// @version      0.1.2
// @description  try to take over the world!
// @author       You
// @match        https://www.google.com/*
// @match        https://news.google.com/*
// @match        https://play.google.com/*
// @match        https://www.youtube.com/*
// @match        https://apps.google.com/*
// @match        https://translate.google.it/*
// @match        https://duo.google.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var style = document.createElement("style");
    style.innerHTML = "#lb, iron-overlay-backdrop.opened[style^='z-index: 2201;'], ytd-consent-bump-lightbox[id='consent-bump']{display: none !important} html{overflow-y: scroll !important}";
    document.body.appendChild(style);
})();