Bytepawn Marton Trencseni on Software, Systems and other Ideas.

Google Docs Preview Firefox Addon

2009/09/10



Download the Google Docs Preview Firefox Addon here.

Google has exported their very cool web-based PDF viewer. You can use it by telling it what PDF file to open like this:

http://docs.google.com/gview?url=PDF_URL

For example, here is the Keyspace whitepaper shown in Google Docs Preview:

http://docs.google.com/gview?url=http://scalien.com/pdf/Keyspace.pdf

You can also embed it in an IFRAME like this:

<iframe src="http://docs.google.com/gview?embedded=true&url=PDF_URL"
style="width:800px; height:600px;" frameborder="0"></iframe>

For example, here is the Keypspace whitepaper shown embedded:

I hacked together a Firefox addon that lets you open any PDF file from Firefox using the Google Docs Preview: download here. It lets you specify whether to

  1. Open in the same or a new tab
  2. Whether to focus the new tab

Here's a screeshot:


- Marton Trencseni


blog comments powered by Disqus