Skip to content

Instantly share code, notes, and snippets.

@heavyLobster2
Last active June 9, 2018 01:49
Show Gist options
  • Save heavyLobster2/eccef6e45eb8ec8c1e8f to your computer and use it in GitHub Desktop.
Save heavyLobster2/eccef6e45eb8ec8c1e8f to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Stop Google Badgering
// @description Stops Google from badgering about annoying stuff
// @version 1.0.11
// @author heavyLobster2
// @namespace github.com/heavyLobster2
// @downloadURL https://gist.github.com/heavyLobster2/eccef6e45eb8ec8c1e8f/raw/StopGoogleBadgering.user.js
// @match *://www.google.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
(function () {
"use strict";
var style = document.createElement("style");
style.type = "text/css";
document.head.appendChild(style);
style.sheet.insertRule("[role='dialog'] { display: none !important; }", 0);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment