Simple snippet building a docs.google URL if you have a webview with a pdf, doc, etc URL.

Feel free to add more extensions :)