Skip to content
November 1, 2011 / Karthikeyan Natarajan

A hack in free website hosting

Recently, i found out a small hack to avoid loading the Javascript & css  of free site domains(which are used to display ads/ track sites functionality too by free website domains).
I found in most of the sites that “These Javascript code are embedded at the end of the html file”.
When we edit the html code of our page, this “Javascript codes” will not be visible. The free website server will ad the script when viewing the pages.
What i did was, I just added a html comment “<!--” marker at the end of my code (html/php or anything).
This disabled the any html code including javascript that is added by the server.
This also makes the page load faster, if your page does not contain much javascript/css etc.
I tested its functionality in 110mb.com and t35.com.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: