Last active
December 16, 2015 00:19
-
-
Save jsdbroughton/5347228 to your computer and use it in GitHub Desktop.
This bookmarklet opens a new window/tab to the web hosting view of a publicly shared Google Drive folder. 1. Shared a Drive folder to Public
2. Open the folder either by navigating to it in Drive or via the Open command.
3. Click bookmarklet For a website to be accessible from the resultant url the folder must contain a single index.html file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){open('https://googledrive.com/host/'+location.href.split('/edit')[0].split('/').pop()+'/');})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment