Chrome Extension: Print This Frame!

A client came to me yesterday with a problem: He couldn’t print a webpage in Chrome. I look and sure enough, clicking “Print…” in Chrome yielded a page that wasn’t the full page. Why? Because the website he was viewing it on put stuff in frames. Yuck. The 90’s, right? (I know I was guilty of using them back in the days of Angelfire when having your browser being able to upload files to a webserver was a Big Deal) So what did I do? I developed a Chrome extension. It wasn’t too bad.


You can install it right here.

Usage: Just right-click on any frame, click “Print this frame…”, click Print and BAM! Done.

I used the Chrome Apps & Extensions Developer Tool to help me view extension behavior and errors easier.

Created: July 23rd, 2014
Changelog:

  • 1.2 – July 29th, 2014
    • Reinstated auto-close functionality as it should now work with all versions of Chrome
  • 1.1.1 – July 29th, 2014
    • Removed the auto-close functionality since this conflicts with the Stable version of Chrome
  • 1.1 – July 24th, 2014
    • Restructured code to avoid “callback hell
    • Automatically closed the opened tab upon Print or Cancel
  • 1.0 – July 24th, 2014
    • Initial public release

Want to see the source code? Please email me.

Thanks for checkin’ it out.