Welcome to My Blog. If you are a New Visitor Please Subscribe For Latest Updates!

How to Host JavaScript(.js) files on blogger itself

Rate this Post:
{[['']]}


If you are a blogger then you can host/upload JavaScript(.js) files on Blogger itself. Advantage of hosting JavaScript File on Blogger is, it will load more faster the the other hosting. Because Google have Dedicated Severs and Have much More Speed.

Procedure:

  • Login to Blogger
  • Goto Design
  • Click on Edit HTML
  • Expand Widgets

 

Find the .js File that you want to Host on Blogger

 

JavaScript(.js) files have extension of .js i.e. Bloggerprofessional.googlecode.com/xyz.js

Code will look like this;

 

<script src=”http://URL-OF-FILE/file-name.js” type=”text/javascript” />

Now download the .js file(http://URL-OF-FILE/file-name.js) or directly open in Browser and copy all the Code and paste it in the code as shown below.

 

<script type='text/javascript'>
//<![CDATA[
<!--Paste the Copied code Here-->
//]]>
</script>

That’s it. Now Save Changes and you are good to go.

No Worry of Deleting Files and Limited Bandwidth.


SHARE THIS POST   

  • Facebook
  • Twitter
  • Myspace
  • Google Buzz
  • Reddit
  • Stumnleupon
  • Delicious
  • Digg

2 comments:

  1. Is it really work? And, my blog's templet have a problem that, if i link on main menu to other site, it come with my link like bdalbum.com/facebook.com/so.i.cat but, i need only facebook.com/so.i.cat help needed.

    ReplyDelete
  2. LOL its not called hosting.... its called INLINE ADDING OF JAVASCRIPT..
    bt nice info..

    ReplyDelete

Comments will be Moderated by Blog Administrator.
Please do not Spam Here.....