Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Wired - Printer Friendly Redirect

Redirects to the printer-friendly version of Wired pages when one is detected.






Sep 6, 2007
Jeff Martin Scriptwright

You can fix the problem with the back button behavior by changing line 42 from:

document.location.href = res.snapshotItem(0);

to

document.location.href.replace( res.snapshotItem(0) );

 
Jul 24, 2007
Julien Couvreur Script's author

That's a good point. I need to think more about it to find a solution.

 
Oct 12, 2005
foobaz User

This works and it's cool. Only one problem. Hitting the back button goes to non-print version which triggers this script to go to the print version. You could just disable the redirect the second time going to the same page.

You could comment on this script if you were logged in.