PDF/PPT/TIF viewer with Google docs

By Koonies Last update Oct 24, 2009 — Installed 20,204 times.

some links are not detected

in
Subscribe to some links are not detected 3 posts, 3 voices



lanux128 Scriptwright
FirefoxWindows

hi,

this is a very useful script for me as i normally prefer viewing PDFs online, however some of the links do not work. e.g. this url: http://www.hardwarezone.com.my/priceguide/downl...

i can view them if i copy paste with google viewer like this: http://docs.google.com/gview?url=<above>. maybe you can take a look at links like these in a future update?

thanks</above>

 
Koonies Script's Author
ChromeWindows

I think that it is difficult to convert the URL.
Because it does not include a word of ".PDF".

 
dalboz User
FirefoxMacintosh

It would be technically possible to detect links to PDF files and other supported document types, even if they don't have .PDF (or whatever) in the URL. But this would require sending an XmlHttpRequest and checking the MIME type of the response for *every* link on the page. Hence, the overhead may degrade performance and may not be desirable. Alternatively, the request could be delayed until a user mouseover's a link and if the link is found to be a supported type, the link updated.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel