Forum Moderators: martinibuster
</body>
</html>
<!-- Ads by #*$!#*$!xx -->
</script></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript'>
<!--
var ref = document.referrer;
if ( ref.length <= 0 )
[and so on...]
if i just put the 'noscript' code before it and after the html close tag, it will disable only the adsense or the others scripts in my page?
if i just put the 'noscript' code before it and after the html close tag, it will disable only the adsense or the others scripts in my page?
It should only disable the script after the </html>, but you are also risking your free hosting account from being terminated, as many providers prohibit that sort of stuff.
Plus, it may not even work since they use the </script> tag in there.
If you want to get rid of the advertising, you will have to pay for your own hosting. At least then you can open your own AdSense account and profit from your own content. Hosting is very cheap (a few dollars a month for a basic plan), you should be able to more than cover the cost with your own AdSense.
As bypassing the scripts added by your free hosting company, it is undoubtedly against their terms of service and is likely to get you thrown off their servers, meaning you lose your site. Bear in mind too that most free hosting services have contacts which give them total rights over your site content once you upload it to their server, so they can keep your hard work for themselves and publish it (with advertising), and simply lock you out if you complain or bypass their scripts.
Please note that unfortunately this is not an appropriate venue for offering script "solutions" to breaking a hosting company's code.