lycos ads gone!!!

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
thomasd1
Forum Commoner
Posts: 80
Joined: Sat Nov 22, 2003 2:48 pm
Location: Belgium

lycos ads gone!!!

Post by thomasd1 »

yeeeaaah i found out how

between <head></head>

Code: Select all

<script language="javascript">
function lycosBreak()
&#123;
if(typeof("DeleteCookie")=="function")DeleteCookie("adFrameForcePHP");
&#125;
lycosBreak()
function resizeGoogleAdFrame() &#123;
if (window != top) window.parent.document.body.cols = "*,0";
&#125;
resizeGoogleAdFrame()
//setInterval("lycosBreak()",2000);
if (window != top) setInterval("resizeGoogleAdFrame()", 1);// lower is better
</script>
and this at the end of the page

Code: Select all

<xml>
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

call the police
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Interesting. I think the js code could be a little tighter (dont have to use functions .. would save a few lines).

But I'm more interested in why you needed to add the xml tag at the bottom.

Mind providing a link to a lycos page where you've implemented this? It would be interesting to view the resulting source.
Post Reply