Wednesday, May 16, 2012

"Save to Google Drive" bookmarklet

Not entirely sure why I haven't been able to find a preexisting solution to save to Google Drive but I've just created a bookmarklet (tested in Chrome) for saving the current document(url) to my Google Drive:

javascript:(function(){document.location.href="https://docs.google.com/viewer?a=sv&url=" + document.URL;})();
Enjoy!

3 comments:

Ricardo said...

woooo!

expatcatalyst said...

Yesssssssssssss! Tnx

Vasilios said...

Hi. It's great. But i am a little confused. It does save to drive in a super quick straight-forward way, which is great. But, it does not save in a format i can open through the web. On my gdrive folder on my desktop I have to choose the program (ie, chrome) or append ".html" to the end of the file name to get it to open. Is this the way the bookmarklet works, or is there a way to streamline this.