
08-02-2006, 08:45 AM
|
 |
Digital Dream Broker
|
|
Join Date: Feb 2006
Location: Kuala Lumpur
Posts: 483
Rep Power: 0
|
|
Some tricks to remove the ads...
Many free hosting packages come with adverts - here are some tricks to get rid of them:
1 - try using something other than .htm or .html for urls - use .abc or something. Web-browsers don't care what the extension is - but your host probably only automatically puts ads on .htm or .html. If .abc doesn't work - use the same as an image format - e.g. .jpg or .gif. This, however doesn't work with older browsers and may confuse people!
2 - change the text colour to white and add <plaintext> to the end of your page. This hides ads in the footer.
3 - add an open comment at the bottom, i.e. <!--, also for footers
4 - use javascript to remove them. Put all your true content into a <div></div> and set body onLoad to set document.innerHTML=yourdiv.innerHTML
5 - try putting a PHP die statement in: <?php die(); ?>
6 - use absolute positioning. <div style="position:absolute;top:0px;left:0px;width:10 0%;height:100%;background-color:white">YOUR CONTENT</div> This works 95% of the time.
|