Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Show G+ notification box only in Google+ (modified to work also for .pl domains)
// ==UserScript==
// @name Show G+ notification box only in Google+
// @namespace
// @description To make sure we spend the entire day on Google+, we now have that big attractive notification box in the top right of all Google sites. When receiving a notification while searching the web or composing an email, the notification box turns all red and instantly draws your attention, taking you into the wrong conversation. This one line GreaseMonkey piece hides the notification box in all Google sites except Google+, where it belongs. Tested on Chrome and FF+GreaseMonkey.
// @include http://**
// @include http://*
// @include https://**
// @include https://**
// @exclude*
// @exclude*
// ==/UserScript==
try {document.getElementById("gbg1").style.display = 'none';} catch(e) { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.