Google Reject All

Automatically clicks the Reject All button on Google's prompt for cookies and advertising.

// ==UserScript==
// @name         Google Reject All
// @namespace    GoogleReject
// @version      1.0
// @description  Automatically clicks the Reject All button on Google's prompt for cookies and advertising.
// @author       BoffinBrain
// @license      MIT
// @match        https://consent.google.com/m*
// @icon         https://google.com/favicon.ico
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
	var btn = document.querySelector('[aria-label="Reject all"]');
	if (btn) btn.click();
})();