Skip to content

Instantly share code, notes, and snippets.

@kaorimatz
Created November 18, 2012 13:29
Show Gist options
  • Save kaorimatz/4105264 to your computer and use it in GitHub Desktop.
Save kaorimatz/4105264 to your computer and use it in GitHub Desktop.
A userscript for hiding ads at gmail.
// ==UserScript==
// @name Gmail Ads Blocker
// @namespace org.kaorimatz
// @include http*://mail.google.com/*
// @version 0.0.1
// ==/UserScript==
// right ads
GM_addStyle(".Bu { display:none; }");
GM_addStyle(".Bu:first-child { display:block; }");
// bottom ads
GM_addStyle(".nH .PS { display:none }");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment