Idea: suppress automatic window.print()

You know how news sites often have a "print" version of each article? It's typically a slightly modified URL that brings up the whole article in a form suitable for printing — on a single page, usually without ads, and sometimes without images. I don't have an example handy but I often get such links in my RSS feeds.

I appreciate the nicer looking single page, but some of these sites automatically bring up the print dialog, presumably as a convenience to save me a click. I almost never want to see the print dialog, so I'd like to have a Safari extension that suppresses this behavior.

I'll have to look in my RSS archives later for an example that I can dissect. Offhand I'd guess they're doing something like onLoad="window.print();". Maybe I can write the Safari extension myself.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.