How To Get Direct Host Link Of HTML/ JavaScript/ CSS (All Files) From Google Drive
Finally, I got this trick to host HTML/JavaScript / CSS code on Google Drive. Google Drive is the best solution to Save our documents remotely with 15GB free space without no other conditions. If you have a Google account, You can also sign in Google Drive with out sign up. This is a advanced application it include Spread sheet, Presentation, Document, Drawing, Documents etc. You can also upload and save your personal files (Include.EXE and RAR files) in Google Drive. You can share your files to public,If you not you can keep it as private data.
But Some peoples get trouble, when we upload a files on Google drive. Because Google drive not shown direct link of HTML/JavaScript/CSS etc. It shows only code view. If we upload an HTML file on Google Drive, You not get any direct preview option.You can also share this link only. Some websites use <iframe> tag to get external information in that site. But direct host link need for use <iframe> tag. You don’t get original hosting link from Google Drive. Because no option in Google Drive. Now i share a trick to solve your problem. You will get original preview from Google Drive. Just keep following this post…Enjoy..
First Go to Google Drive and Log in with your Google account.
- After that, Upload a file or folder from your computer (You can also create documents ,spread sheet, forms etc with Google drive).
- After complete uploading, File appear on main window.
- Just Right click on that file and hit on share option.
- Now appear a popup box. It shows Who has access option. Click on change link.
- Now appear a new box, Change visibility option to Public on the web (You can also change access option with your wish) and save it.
- Now Copy link from your Link to share box. And Copy RED color code (not this, from your link).
(It may like below)
https://docs.google.com/file/d/0B7zn8HT9f1BUSmtMdkhqS3ZQM28/edit?usp=sharing
- Replace PASTE-YOUR-CODE with your copied code.
https://googledrive.com/host/ PASTE-YOUR-CODE
- After replace this your will get a link like below
https://googledrive.com/host/0B7zn8HT9f1BUSmtMdkhqS3ZQM28
- Copy this code on your browser and hit enter. You will get real preview of html file. You can use it on <iframe> tag.
- You are Done. You can also get direct host link of JavaScript, CSS and Other Documents like this format.
Are you happy….. leave a comment below… if you want more information subscribe now…..

No comments: