Greasemonkey Script – View PDFs in Google Viewer

This script will open all PDFs/PPTs/TIFs in Google’s Document Viewer instead of your locally installed PDF/document viewer. This eliminates any instability with the local viewer’s browser integration, as well as removes the possibility of being infected with a PDF exploit.

Just click on any PDF link to automatically open it in Google’s Document Viewer. The links to PDFs all *appear* normally, so you can still right-click and save them locally if desired.

This script is based on Daniel Lanigan’s great event-driven script, found here. It mostly just fixes a few bugs with pages containing multiple PDFs, and links which contain special characters.

Link to zipped copy of script

Link to script on userscripts.org