Created
November 12, 2011 22:44
-
-
Save aniav/1361241 to your computer and use it in GitHub Desktop.
Show G+ notification box only in Google+ (modified to work also for .pl domains)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Show G+ notification box only in Google+ | |
// @namespace http://sagg.im/hidegplusnotifications | |
// @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://*.google.com/* | |
// @include http://*.google.pl | |
// @include https://*.google.com/* | |
// @include https://*.google.pl/* | |
// @exclude http://plus.google.com/* | |
// @exclude https://plus.google.com/* | |
// ==/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