How To Host JavaScript Files on Google Code+Unlimited Bandwidth

Posted by Lasantha Bandara on December 20th, 2009 File Under : google, java script, web hosting12 Comments

Do you want to host your external java script files in unlimited bandwidth?If you host your files in google code you can do it for free .It helps your page load faster than other free webhosting services.

1.First login to your google account and go to Google Code Hosting.

You can see screen look like this.

Create a new project

2.Click on "Create a new project".Next screen will look like this:

Create a new project

3.Fill above form with your information and click on "Create project".Next screen will look like this:

Create a new project

4.Click on "Downloads" tab.Now click on "New download" tab.

Create a new project

6.Fill up the needed information. Browse for your JavaScript(.js) file and attach it. Now click on "Submit file".

host your js files here

7.Now your java script file will upload to google.After that you can see the screen like this:

your hosted js file

8.If you want to get direct link of your java script file,click on file name and select "Copy link address".

copy your js file link as this

9.Now you can use it as external java script file.Look at the example below:

<script src='http://pbtemplates.googlecode.com/files/jquery.min.js' type='text/javascript'/>

File Under : google, java script, web hosting

12 Responses to “How To Host JavaScript Files on Google Code+Unlimited Bandwidth”

  1. KAMEHA says:

    Very interesting

  2. agus gunawan(mooneysea) says:

    thanks for your info and tutorial,its really useful,once more thankyou very much.

  3. freeweb says:

    Thank you friend

  4. The Genuine Islam says:

    Thank you very much . Ths is so useufl for me

  5. Scorpie says:

    I was trying for hours to find the correct way to host at google with unlimited bandwith

    thank you very much, really saved my day =)

  6. JC Menéndez says:

    Gracias , por la info, saludos Atte: JCM

  7. Ismail ALAOUI says:

    i find a problem that when i upload .js files on opendrive widgets work normal, but in google code widget doesn't work please help me to host .js and swf files normally on google code because the problem on opendrive is late timing to load widgets... please help me take my projet on google code http://code.google.com/p/toprodat/ and show me mistakes to correct please

  8. lilay says:

    what is jquery? from where can i found it?

  9. Ali Ghaloo says:

    Wow.!!! Thats gr8...DeaR...

  10. andhramirchi says:

    hi friend,
    this is a useful information thanks for providing,

  11. souvik ghosh says:

    Thank you very much

  12. Jari Ullah says:

    Thanks for sharing this Sir. I have found it useful..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.