Latest Updates

How To Host JavaScript And CSS Scripts On Google Drive

ad+1


Host JavaScript And CSS Scripts in Google Drive



However, Blogger doesn't provide the flexibility to host CSS or JavaScript files in one separate link. They are hosted within the blog's code through HTML tags. Hence, today I will teach you how to host scripts on Google Drive and then link them back to your website/blog so they work properly.


Follow the Step :

  • Go to drive.google.com.
  • Click on upload icon → Files → Chose the CSS or JavaScript file which you want to host.(see bellow image )

  • After the File is uploaded then click on that file → Click Share. (see bellow image )



  • Sharing setting will open ,copy the link under link to share → click on change .


  • In option select Public on the web → Save it.





  • The last step is little tricky. I will teach you how to prepare a proper hosting link for your CSS/JavaScript file, so that you can embed it in your website/blog's HTML code.


https://docs.google.com/file/d/file_code/edit?usp=sharing


  • Now Change the link to :

https://googledrive.com/host/file_code 

Tips :


You can paste the sharing link in Notepad or any other text editor and then edit it.
Let me give you an example. Given below is the sharing link of my back to top button's JavaScript code which is hosted on Google Drive.


https://drive.google.com/file/d/0B5gFqOZt0TRheFBWNlZMb05fNTg/edit?usp=sharing

  • Red Highlighted file code is my file code


Final work :


https://googledrive.com/host/0B5gFqOZt0TRheFBWNlZMb05fNTg


  • Replace Red highlighted code with your file code.
  • You're done! You have successfully hosted your CSS/JavaScript file on Google Drive. Also, you have it's proper hosting link. You just have to embed it or refer to it in your website/blog's HTML code.




8 comments: Leave Your Comments

  1. Nice and informative Post. Carry On.

    Tech Care Point | Blogger Tips, Make Money Online Tips, SEO

    ReplyDelete
  2. Stretched out consideration programs are intended to help screen the patient's achievement in liquor habit recuperation. To do this properly, the program staff watch over the patient to be certain the person is using the new abilities picked up during rehab.
    beating addiction quotes
    drug addiction recovery quotes

    ReplyDelete
  3. The Pornstars page records around 9,000 pornstars, a huge amount of the appearances and racks you'll see. You can examine them by Featured whores or in consecutive request demand. There's no basic strategy to glance through the summary by hair concealing, tit size, or various attributes. The picture menu is enticing as damnation and should be all that anybody could requirement for most monkey-spankers. A page of classes records studios nearby degraded acts like Threesome and Anal. There's Squirting, Public, and Hardcore, anyway fixation giants will understand left. There's no Fetish strength, nor do they fuck with such an enslavement, feet, or cowhide cuts. Taking everything into account, VE Porns has content from a lot of goals. Will without a doubt find some incredibly unordinary stuff if you use the chase work. Tranny ain't a characterization, yet the request bar can find a few chicks with dicks for you. You know, I'm not complaining or anything, anyway I'm not totally convinced YesPornPlease has agree to post all the rottenness in their collection. If you click the Upload button, you get a structure to enter the video you need, and the message, "We are locking in. You can make any video request." That's not generally how this crap capacities.
    yespornplease

    ReplyDelete
  4. Indeed yespornplease presents to you the best free pornography recordings you can discover on the net.

    That is the reason yespornplease is your best choice with regards to picking XXX porno. You can't, and you would prefer not to pass up all that we've gathered for your delight. You would not quit watching the best recordings realizing which is the page where you will discover them. You have effectively discovered it and you can not miss the second to load up with joy taking a gander at the most sweltering and tasty Internet. All deliberately chose with the goal that every video puts you at a thousand and you generally need to return for additional. Of that we are certain, you will like such a lot of that you will return.

    We as a whole know the xxx recordings of yespornplease however on our site you can discover the cream de la cream, separating the inferior quality substance. You will presently don't need to sit around investigating recordings and picking the ones with the best quality and substance, we will do it for you.

    We're staying put and you'll wind up thinking of us as the best form of yespornplease we buckle down for. We need to please tastes and stay perpetually, we realize that this is accomplished exclusively by offering quality and that is our main thing. That is the reason we welcome you to visit us. We realize that once you see the nature of our material, you will get diligent to our page.
    A page where your porno minutes will be the most agreeable and best. You will not need to move from here. You can appreciate and fill yourself with joy without leaving our site briefly.

    Need to see free versatile pornography in excellent and HD?

    On our site you will appreciate watching the best yespornplease.com motion pictures. We sincerely feel that our guests merit what we think they merit. Great, enduring, top notch motion pictures. They merit not to lose subtleties of the scenes introduced by every film they need to see. That is conceivable, in light of the fact that we have an assortment of the best films in HD quality. So you can appreciate the best of the most sultry and distorted snapshots of every video you need to see.

    Yespornplease is the ideal spot to observe free pornography video here you will track down the best pornography recordings of the whole organization.
    In the event that you can appreciate quality and assortment here. Yespornplease have great material, complimentary and we are continually reestablishing. So you can be certain that with us your fun and joy won't ever end. Try not to make due with something tolerably great, in case you will track down the best on this page.

    We offer free pornography video XXX so you can make the most of your sexuality

    Why yespornplease and not another page?
    Since there could be no other spot like Yes pornography where to observe free pornography recordings of the greatest HD quality and totally horny, similar to our site. Make the most of your sexuality to the greatest, make some great memories and get those climaxes you need such a huge amount with the material we have for you.

    yespornplease is the spot, come in and you will consider that to be with the expectation of complimentary pornography films we have no opposition. We are the awesome. There could be no other equivalent and there will not be. We work pondering your fulfillment consistently. We search for simply the best material.

    ReplyDelete
  5. Good afternoon everyone. If you have a problem with services content marketing , go to this site. You will get quality and quick work. The experts will be able to develop new advertising methods for you and find a new target audience for your business. I recommend it to everyone! Use it and enjoy the results!

    ReplyDelete
  6. Low back pain
    also known as physical therapy in some regions, is a healthcare profession that focuses on helping individuals regain and maintain their physical function, mobility, and overall well-being. Physiotherapists, or physical therapists, are highly trained healthcare professionals who work with people of all ages to manage and prevent various physical problems and conditions.

    ReplyDelete