找回密码
 加入
搜索

[代码] 免费空间去除广告代码集合

[复制链接]
发表于 2006-4-7 11:00:27 | 显示全部楼层 |阅读模式
1、去掉中国圣博底部广告代码
  把代码<script language="Javascript">或<style type="text/css">放到你的网站底部,如果底部还有其他代码请把此代码放在最后。具体方法:进入管理后台 - 定制网站外观 - 整体模板 - 将<script language="Javascript">或<style type="text/css">之一放在</html>后面保存 - 启用/弃用/测试,即可成功清除底部广告。

2、savefile.com去广告
  将</body></html>替换成以下代码:
<noscript></body></noscript>
</html>
<script>
var centerobj=document.getElementsByTagName("table");
centerobj[0].style.display="none";
</script>

3、brinkster.com去广告
在<body>前后加上以下是代码:
<noscript>
<body>
</noscript>

4、savefile.com去广告
将</body></html>替换成以下代码:
<noscript> </body></noscript>
</html>
<script>
var centerobj=document.getElementsByTagName("table");
centerobj[0].style.display="none";
</script>

[Ctrl+A 全部选择]

5、brinkster.com去广告
在<body>前后加上以下是代码:
<noscript>
<body>
</noscript>

[Ctrl+A 全部选择]

6、websamba除广告且不怕它改端口的方法
做一个Default.htm文件代码如下,上传到空间就可以了:
<html><head><title>防改端口</title>
<script>
//去弹出广告
cnease=window.open("","my","top=2000")
cnease.close()
if(top!=self)top.location=self.location
focus()
self.resizeTo(screen.availWidth+8,screen.availHeight+8)
self.moveTo(-4,-4)
</script>
</head><body>
<SCRIPT TYPE="text/javascript" LANGUAGE=javascript>
<!--
if (top.frames.length!=0)
top.location=self.document.location;
// -->
</SCRIPT>
<script language='javascript'>
document.location = 'index.asp' //这里是你要跳转到的文件</script>
</body></html>

7、网易去广告
网易去广告将文件名改成txt如index.txt

另外的方法:
在你的页面中加入以下代码就行了
<script language="javascript">
document.all.nadease.style.display="none";
</script>

8、CHINADNS.COM的弹出广告去除,将下面的JS代码加到 </HEAD >之前

<script language= "javascript " >
popup=msgWindow=window.o p e n( "_blank>http://www.chinadns.com "/;;, "displayWindow ", "toolbar=no, width=650, height=100,

directories=no, status=no, scrollbars=no, resize=no, menubar=no ")
popup.c l o s e();
</s cript >

9、51去广告的办法
第一,在public_html 下建一个bannercode目录
第二,在 <body >后放上如下一行
<s cript language= "java s cript " >parent.name= 'vh4t8jkn34'; </s cript >

大家可以用 yeskey.net的去广告转向域名:

U1不去广告放CGIJH演示: _blank>http://cgijh.yesky.net/;;
U3不去广告放UBB 6.04演示: _blank>http://niceubb.yesky.net/ ;;

10、合法去除51/heha/6to23/yeah/3322广告
  有不少已知对这些免费空间提供者的弹出广告的去除办法,但结果是--你的帐号也不见了。这里介绍的是一种由外加的手段,使得去除广告合法化。请去 mail(AT)17do.com/" target="_blank>mail(AT)17do.com" target="_blank">http://mail@17do.com/;申请一个 E-mail,同时系统会给你一个免费域名这个域名拥有与众不同的以下优点:
1)自动根据来访者,会自动导向;
2)如果选择代理,可以加快你的主页的显示速度;
3)如果选择去广告型,你的主页将不再弹出广告窗口.
  现在已经支持 51.net heha.net 6to23.com yeah.net 3322.net 等的广告窗口。希望大家还知道其他的弹出广告的免费主页,别忘了告诉我!
4)如果你选择带big型,除了去除广告,还带着一个 user(AT)17do.com">big.user(AT)17do.com 域名,是你的 big5 主页哦!

[r]请朋友们提供其它去除办法,或者其它弹出广告的去除办法.[/r]

ydd先生提供spites的广告去除办法:

只要在php、htm等文件的开头加入
<div style= "margin-top:-80 " >
在末尾加入
</div >
就搞定了!

看看我提供的2级域名申请的去除广告效果。
未去除广告的
_blank>http://3guorobot.51.net/bbs/wdb.php ;;
去除广告后的
_blank>http://robot.netsanguo.com/;;
域名申请地址:
_blank>http://www.netsanguo.com/free.htm ;;
喜欢网络三国的朋友不要放过。

11、去除6to23的弹出窗口: <head>与 </head>之间加上:
<!--
popwin=window.o p e n( "_blank>http://202.104.91.10/window2001223.html";;, "6to23 ",

"width=311,height=142,scrollbars=no,resizable=no ");
popwin.c l o s e();
//-- >

12、spites空间广告去除方法,也许鱼哥这里已经有了。
在每个PHP文件上头都加上
<html>
<noscript>
<body> </body>
</noscript>
</html>

DK3加入
<noscript>

<!-- text below generated by server. PLEASE REMOVE -- > </applet> </object> </layer> </div> </span> </style> </noscript >

</table> </script>
<span id= "logons6 " style= "position:absolute; "> </span>
<script src= "_blank>http://www.dk3.com/staticlogo.js";;>
</script>
</noscript>


13、去掉51免费空间广告的保险办法——站外加代码调用
1)连接调用,在连接到51文件的其他站点页面的 <body >后面加上 <script language= "javascript">parent.name='vh4t8jkn34';

</script>,并且将连接设为 "target=_self "或者 "target=_top ",就可以去掉广告。

2)转向域名加非首页文件调用,直接在51的首页加上代码当然比较危险,但完全可以把首页内容复制到51站另外一个不起眼的文件里面,然后为这个页面申请一个转向域名,作为51站的入口。

对付51,可以在另外一个快的空间建立一个文件调用它,比如51.htm,内容如下:

<HTML>
<HEAD> <META HTTP-EQUIV= "Refresh " CONTENT= "0; URL="http://lingshidao.51.net"> </HEAD> <BODY> <script

language="javascript">parent.name='vh4t8jkn34'; </scrip > </BODY> </HTML>

因为非法代码不在51空间的文件里面,而是站外调用,绝对安全,又无需申请转向域名,速度更快。

测试:
_blank>http://www.lingshidao.com/url2.htm;;

由于51新进采用网页显示和广告显示的比来检测是否被屏蔽,所以以往对付51的代码都已经失效了(只要广告显示比网页显示少一定数目就判定为屏蔽)。我写了一个新的屏蔽方法,虽然不是一劳永逸,但是至少现在51没办法解决:

<!--KGB CODE: Anti 51 dot net banner !!!要放置在每一页底部!从这里开始复制!!!-- >
<script LANGUAGE= "java s cript " >
cvmdbs= "/bannerco " + "de?code=embed ";
kkcasd= "vh4t " + "8jkn34 ";
zvdgvw= "to " + "p=2000,lef " + "t=2000,resi " + "zable=yes,wi " + "dth=500,hei " + "ght=160 ";
window.o p e n(cvmdbs, kkcasd, zvdgvw);
</script>
<!--
<END OF KGB CODE !!!结束复制!!! >


14、去掉xoasis的广告

<script language=javascript>
<!--
popwin=window.o p e n('', 'adwin464565545465454654',

'HEIGHT=30,WIDTH=490,status=no,toolbar=no,directories=no,menubar=no,location=no');
popwin.c l o s e();
//-- >
</script> 并且target=_top

15、去掉ifrance的php广告

<script language=javascrip>
<!--
popwin=window.o p e n('', 'pubpopup', 'toolbar=0,location=0,status=0,menubar=0,scrollbars=1,height=1,width=1');
popwin.c l o s e();
//-- >
</script>


16、现在网易的两种转向域名都没广告了,你看源代码:
<HTML>
<meta http-equiv= "refresh " content= "1;url=http://magicstone.home.china.com"> <body> <iframe border=0 height=1 width=1

src=http://www.163.com/wwwimages/sms/test.html> </iframe>
</html>
如果你使用的是网易的空间,只要把index.html拷到另外一个文件,比如home.html,然后给它申请一个不带广告的域名不就行了吗?而且,myrice.to的域名和topcool的域名都没广告,速度也快。

17、由smallv提供,去掉music.jp空间广告:

把所有网页中的 </html> 代码,替换成以下代码:

</html> <iframe name=newwin1 width=0 height=0 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 > </iframe>

18、51.net免费空间最新无广告方法
对象:适合51.net免费空间所有CGI或PHP程序!
要求:在其它空间有一个无广告的页面,如:myrice.com、3322.net的非index.html
home.sohu.com空间
方法:
第一步:
在51.net免费空间的cgi或php目录中新建 main.htm文件。
文件内容如下:

<head >
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " >
<title >我的LB5000 II论坛 </title >
</head >
<body topmargin= "0 " leftmargin= "0 " >
<iframe src= "about:blank " name= "vh4t8jkn34 " width= "100% " height= "0 " border= "0 " frameborder= "0 "> </iframe>
<iframe src= "leoboard.cgi " width= "100% " height= "100% " border= "0 " frameborder= "0 " > </iframe>
#51Net -->
</body>
</html>

第二步:
在无广告的空间新建一个引用此论坛或其它程序的页面
如 bbs.htm
内容如下:
<s cript language= "java s cript " >
var title= "我的新论坛 "                   //论坛标题
var url= "_blank>http://wayou.51.net/cgi-bin/";;          //论坛所在目录

document.writeln( " <html> <head> <meta HTTP-EQUIV=\ "Content-Type\ " CONTENT=\ "text/html; charset=gb2312\ " > ");
document.writeln( " <title> "+title+ " </title > </head> <frameset rows=\ "1*,0\ " frameborder=\ "NO\ " border=\ "0\ "

framespacing=\ "0\ " cols=\ "*\ " > ");
document.writeln( " <frame name=\ "main\ " scrolling=\ "no\ " noresize src=\ " "+url+ "main.htm\ " > ");
document.writeln( " <noframes> <body> <p>此网页使用了框架,但您的浏览器不支持框架。 </p> </body> ");
document.writeln( " </noframes> </frameset> </html> ");
</script>

第三步:完了。

优点:
无广告显示,但实际上打开了51.net的广告,只是在隐藏页面中。所以广告计数算进去了,管理员不会认为非法屏蔽了广告。

19、websamba.com 的广告太容易去处了。
  它用的是外加框架的方式,你只要在你的页面上(就是主页上面不属于广告的部分)右键查看页面属性,就可以知道实际URL,一般是:
freehost??.websamba.com/[YOUR USER NAME]/.......

"??"是服务器的编号,自己查。
就和垃圾share的ss1/ss2/ss3/ss4...原理一样(别告诉我你不知道)

我申请的那个是freehost01。自己看看下面两个地址有什么不同:
_blank>http://freehost01.websamba.com/ask4game/mygames.htm
_blank>http://www.websamba.com/ask4game/mygames.htm

20、music.ne.jp我用过的方法,就是做一个转接页面
<HTML><HEAD>
<TITLE>::BULB Online::</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="Microsoft FrontPage 5.0" name=GENERATOR>

</HEAD>
<frameset framespacing="0" border="0" rows="0,*" frameborder="0">
<frame name="newwin1" scrolling="no" noresize target="page2" src="1.htm">
<frame name="page2" src="你想去掉广告的url" scrolling="auto" noresize>
<noframes>
<body>

<p>此网页使用了框架,但您的浏览器不支持框架。请点击这里进入<a href='你想去掉广告的网址'>***</a></p>

</body>
</noframes>
</frameset>

21、dk3
他會在每個PHP程式的最後面</body></html>前面加上這一段:
<!-- text below generated by server. PLEASE REMOVE -->
</applet></object></layer></div></span></style></noscript></table></script>
<span id="logons6" style="position:absolute;"></span>
<script src="_blank>http://www4.dk3.com/ad/staticlogo.js">
</script>
<!-- text above generated by server. PLEASE REMOVE -->
因為他的廣告是固定在右下角,會檔到視線和一些功能,很麻煩!

加入<? e x i t; ?>

DK3加入
<noscript>

<!-- text below generated by server. PLEASE REMOVE

--></applet></object></layer></div></span></style></noscript></table></script>
<span id="logons6" style="position:absolute;"></span>
<script src="_blank>http://www.dk3.com/staticlogo.js">
</script>
</noscript>

22、网易免费域名去除广告方法:
1)您注册的域名:(hnatv).yeah.net
 密码:    (******)
修改您的URL:(_blank>http://www.hnatv.net/"><style> )
2)您注册的域名:(yspd).126.com
 密码:    (******)
修改您的URL:(_blank>http://www.hnatv.com/movie/"><title> )
演示:_blank>http://yspd.126.com
topcities.com

去广告方法
在BODY前后加一下段代码
例如:
<!--
<body>
//-->
</script>

23、free.prohosting.com这个空间广告的去除方法。
简单的法子是只改LB的这个文件。data目录下的template.cgi文件。
在</head>后加<killbanner>,然后在</html>后加<style>搞定!

成功演示:_blank>http://ice.prohosting.com/freedoms/cgi-bin/leoboard.cgi

方法不是很好,只在探针文件上测试通过,别的cgi程序没有试过。
演示:_blank>http://wind.prohosting.com/cangdao/cgi-bin/env.cgi
方法:
1、去掉<body>字段。因为它的iframe广告见到<body>就加代码到后面。
2、在</html>后加<style>。去掉它的POP广告。注意加<title>是不管用的,它的代码防止了这个漏洞。

24、websamba除广告且不怕它改端口的标准方法
在首页里加:
<SCRIPT TYPE="text/javascript" LANGUAGE=javascript>
<!--
if (top.frames.length!=0)
top.location=self.document.location;
// -->
</SCRIPT>
然后仍然用
_blank>http://www.websamba.com/userid
访问
只要他不弹出广告,这就是最好的方法,不用担心他改端口。

25、freewebpage.org
紧跟在 <body> 的后面加上:<script>document.body.innerHTML="";</script>

Archiver|手机版|小黑屋|乱弹琴|重庆网址之家|多来米发 |

GMT+8, 2026-10-14 03:41 AM

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表