Email Print Page Cleaner Updated v1.1

Email Print Cleaner Logo Picture


[Email Print Page Cleaner ][1] is a little tool that I created a while ago to allow people to remove the Gmail logo from pages that they wanted to print. It only removes the logo on the print page.


I’ll briefly go over the changes I have made to the project.

Options page and Extra Removals

What I have done now is added an options window which allows additional choice as to what to remove, and gives even more options of what to remove than before.

A user can remove the following:

  • Hide the Gmail logo
  • Hide your email address
  • Hide the subject
  • Hide the sender details

These options can be seen in the screenshot of the options below:

Email Print Page Cleaner Options Picture

Email Print Page Cleaner Options

Check if print page

I used to not be checking if the Gmail page was a print page or not and was executing Javascript on every page trying to remove the Gmail logo. It would not work as the extension only ran on load, and when Gmail loads it actually has a loading screen first which means nothing is removed on that page. I noticed that the Gmail page appends “Gmail” to the title, whereas the print page prepends “Gmail” to the title.

So my method to avoid some extra code being executed is to just check if it starts with “Gmail”

//Check if it a print page
if(document.title.startsWith('Gmail')) {
  //Extensions code here

How the Extension Came to be

I never thought there would be this much demand for such an extension (over 1000 people use it), and actually only made it for one person originally who had asked a questions on Stack Exchanges Webapps question site. I just released it to the public in case others were also interested and it looks like they were.

The code for this project can all be found on Github.

Technical Details

I used Google Chrome’s new v2 options page which nicely allow me to integrate the options page directly in the extensions list page as a pop-up. This also appears to be the new standard that will be used and the old one is being phased out.

Of course I opted to use Chrome’s sync function so that a users preferences are synced to their other systems as well. Oddly enough not many extension use the sync storage. Granted it does not store as much data, but it should still be enough for most.


If there are any problems feel free to leave a comment on this post or email me at

[1]: “”

The Journey of the University of Guelph Course Schedule to ical (.ics) – A Google Chrome Extension turned Webapp How to use Google Chrome’s New Options v2 with your Extension