How to Host JavaScript(.js) files on blogger itself
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.
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.
ReplyDeleteLOL its not called hosting.... its called INLINE ADDING OF JAVASCRIPT..
ReplyDeletebt nice info..