How To Host JavaScript Files on Google Code+Unlimited Bandwidth

Posted by Lasantha Bandara File Under : google, java script, web hosting 12 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'/>

12 thoughts on “How To Host JavaScript Files on Google Code+Unlimited Bandwidth

  1. 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 =)

  2. 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

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.