Skip to content

Instantly share code, notes, and snippets.

@Zegnat
Created April 28, 2013 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zegnat/5476551 to your computer and use it in GitHub Desktop.
Save Zegnat/5476551 to your computer and use it in GitHub Desktop.
Adblock Plus filter for removing cruft from Gmail prints.
[Adblock Plus 1.3]
! Checksum: h6BrZGmz6mljqqZ43XaHrw
! [Gmail print cleaner]
! Gmail logo (left) and receipient email adress (right):
mail.google.com##body[onload="Print()"] .bodycontainer>table
! Horizontal line below logo/email adress:
mail.google.com##body[onload="Print()"] .bodycontainer>hr
! Title and message count:
mail.google.com##body[onload="Print()"] .maincontent>table:first-child
! Horizontal line below title and message count:
mail.google.com##body[onload="Print()"] .maincontent>hr
! Sender (from, left) and date (right):
mail.google.com##body[onload="Print()"] .message>tbody>tr:first-child
! Receipient (to):
mail.google.com##body[onload="Print()"] .message>tbody>tr:nth-child(2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment