News 
Products 
Articles 
Other 

How to delete ads on lycos.co.uk

delete,ads,no,ad,lycos,lycos.co.uk,how,to
If you have an account on Lycos servers, you can try this, to deletes ads on it. Just, use this script:

1. To delete right side ad (frame):

Between paste:



<script type="text/javascript">

//script from http://www.zurawek.com
//don't delete this comment

function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
document.cookie = curCookie;
}

function changePage() {
if (self.parent.frames.length != 0)
parent.document.body.cols = "*, 0";
setTimeout ("changePage()", 75);
}

setTimeout ("changePage()", 10);

setCookie("adFrameForcePHP",0,0," ");
</script>





2. To delete ad in the top of the site:

To the end of each page, (after </BODY>, delete </HTML> tag) we paste following code:



<embed width=0 height=0></embed>
<noembed>




And all should work. We can also upgrade both functions:

If we use PHP, just using include()



<? include("reklama.txt ?"); ?>



Remember - if you are using this script, your page can be deleted, because you don't obey regulations.

Example of use:



<HTML>
<HEAD>
<TITLE>Bal bla bla</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<script language="JavaScript" type="text/javascript">
<!--

//script from http://www.zurawek.com
//don't delete this comment

function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
document.cookie = curCookie;
}

function changePage() {
if (self.parent.frames.length != 0)
parent.document.body.cols = "*, 0";
setTimeout ("changePage()", 75);
}
setTimeout ("changePage()", 10);

setCookie("adFrameForcePHP",0,0," ");
-->
</script>
Content, content, content, content, content, content
<IMG src="baniak.gif" WIDTH="700" HEIGHT="280"><br>
content, content, content, content
</BODY>
<embed width=0 height=0></embed>
<noembed>






delete,ads,no,ad,lycos,lycos.co.uk,how,to
Create date: May 7, 2003 | Last modification: May 7, 2004 Users' comments [3]

Lubię czytać