Rik's Ramblings

Monday, December 13, 2010

Google PDF Viewer

It's bloody amazing!

They actually render a PNG to your browser.  So the page you see is just a picture of the PDF they've decoded on the server.  That's not the cleaver part though! 

They trap the mouse events (down/move/up) to fake the text selection and they trap the control+C, so you can select the text in the original PDF.  This is despite the fact that your browser has no idea there's any text there :-o

Splendid stuff.

Geek-out!

0 Comments:

Post a Comment



<< Home