免费空间去广告大法

      唆泡 2005-5-14 14:59

免费空间去广告大法

作者:佚名 资料来源:本站原创 点击数:607 更新时间:2004-8-12
最新杀窗的办法 (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
内容如下:
<script language="javascript">
var title="我的新论坛"                   //论坛标题
var url="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></body>");
document.writeln("</noframes></frameset></html>");
</Script>

第三步:完了。

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




日本isweb.infoseek.co.jp超高速支持CGI+FTP空间去广告
方法一:

第一行:
<div style="margin-top:-120">
最后一行:
</div>
倒数第二行:
<style>
以上这些是去除页面的广告
去除弹出窗口:
在<body>的前加上 <script language="javascript">
<body>后加上</script>

方法二:
isweb.infoseek.co.jp
此空间有三个广告,我用以下代码去了
去弹出广告:在<body>前加<title>,在<body>后加</title>
去底下的广告:在最后加<style>


isweb.infoseek.co.jp 免费空间的cgi如何设置
我建了一个cgi-bin 上传了lb,但是安装时总是出这个页面:
isweb.infoseek.co.jp/errors/403.html ;
目录和cgi文件属性设为755

www.music.ne.jp
</html><iframe name=newwin1 width=0 height=0 marginwidth=0
marginheight=0 hspace=0 vspace=0 frameborder=0></iframe>

spites的广告去除办法
只要在php、htm等文件的开头加入
<div style="margin-top:-80">
在末尾加入
</div>
就搞定了!
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="http://www.dk3.com/staticlogo.js";>
</script>
</noscript>
------------------------------------------------------------------------------------

(1)日本music空间广告去处
把原来的:
</body>
</html>
这两行换成:
</body>
</html><iframe name=newwin1 width=0 height=0 marginwidth=0
marginheight=0 hspace=0 vspace=0 frameborder=0></iframe>
------------------------------------------------------------------------------------

(2)日本xrea空间广告去处
在</HEAD>后
加<noscript>
<A HREF="http://ad.xrea.com/ad_click.fcg?site=tzbbs";><IMG
SRC="http://ad.xrea.com/ad_img.fcg?site=tzbbs.s4.xrea.com";HEIGHT="468"WIDTH="60"BORDER="0"></A>

<A HREF="http://www.xrea.com";><IMG
SRC="/mffw/UploadFiles/200408/20040812180819447.gif ;"HEIGHT="0"
WIDTH="0" BORDER="0"></A>
</noscript>
<!--nobanner-->
演示:http://xiongdi.s9.xrea.com/54xd.cgi ;
------------------------------------------------------------------------------------

(3)DK3空间的广告去处
</body>
</html>
改成:
<xml>
<applet><object><layer><div><span><style><noscript><table><script>
</body>
</applet></object></layer></div></span></style></noscript></table></script></html>

就行了。然后你可以进入论坛,就像我的一样没有广告了。

演示: xiongdi.home9.dk3.com/vb/ ;
------------------------------------------------------------------------------------

2
topcities.com广告去除方法:
在BODY前后加一下段代码
例如:
<!--
<body>
//-->
</script>
演示:http://54xd.topcities.com/ ;
prohosting的广告去除
第一种方法:
1、去掉<body>字段。因为它的iframe广告见到<body>就加代码到后面。
2、在</html>后加<style>。去掉它的POP广告。
注意加<title>是不管用的,它的代码防止了这个漏洞。
演示:http://wind.prohosting.com/wsbc/ ;
第二种:
简单的法子是只改LB的这个文件。data目录下的template.cgi文件。
在</head>后加<killbanner>,然后在</html>后加<style>搞定!
去掉xoasis的广告

<script language=java s cript>
<!--
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

3
去掉ifrance的php广告

<script language=java s cript>
<!--
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>
free.prohosting.com这个空间广告的去除方法。
简单的法子是只改LB的这个文件。data目录下的template.cgi文件。
在</head>后加<killbanner>,然后在</html>后加<style>搞定!

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

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



基本上这个方法适用大多数空间的广告。只是有一点缺陷,美中不足。

首先看有广告的页面源代码,你会注意到广告代码大多是加在某个语句后的,我看到的大致有加在<body>前、后,</head>后的,
<html>前的,</html>后的。

去广告代码可用<style>,</style>, <title>

例如加在<body>后的,可用<style>加在<body>前,</style>加在<body>后。

加在<html>前的,在<html>前加<style>后加</style>

加在</html>后的,紧跟着</html>后加<style>或者在前加<style>

基本上都能去掉广告,想去广告的建议先用以上法子测试一下看看,不管用的话再来互相研究。

如果是放在文件尾,而且支持php,就在文件尾加入<? e x i t; ?>


VBB解决乱码方案
加入这一语句
header("content-Type: text/html; charset=gb2312");

VB目录下的GLOBAL.PHP第140行上下
// figure out the chosen style settings
这句话上面就可以了

VB/ADMIN的GLOBAL.PHP第100行上下
require("./sessions.php");
这一句的下面加入就好了

在instll.php的最前面也加入
<? header("content-Type: text/html; charset=gb2312");?>

在header.php的第一行加<?header("content-Type: text/html;
charset=gb2312");?>就OK啦,然后在加入管理中心——》CDB选象——》允许用户自定义 GB/BIG5 内码:选择关闭

4


X-BEAT成功去广告!
轉帖自:MAYA阿新
segaweb.s2.x-beat.com/bbs/leoboard.cgi ;;

代码如下:

<!--nobanner-->
<!--css info(editable)-->
<style>
A:visited{TEXT-DECORATION: none}
A:active{TEXT-DECORATION: none}
A:hover{TEXT-DECORATION: underline overline}
A:link{text-decoration: none;}
.t{LINE-HEIGHT: 1.4}
BODY{FONT-FAMILY: 宋体; FONT-SIZE: 9pt;
SCROLLBAR-HIGHLIGHT-COLOR: buttonface;
SCROLLBAR-SHADOW-COLOR: buttonface;
SCROLLBAR-3DLIGHT-COLOR: buttonhighlight;
SCROLLBAR-TRACK-COLOR: #eeeeee;
SCROLLBAR-DARKSHADOW-COLOR: buttonshadow}
TD,DIV,form ,OPTION,P,TD,BR{FONT-FAMILY: 宋体; FONT-SIZE: 9pt}
INPUT{BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px;
BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc;
BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc;
PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px;
HEIGHT: 18px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc}
textarea, select {border-width: 1; border-color: #000000;
background-color: #efefef; font-family: 宋体; font-size: 9pt;
font-style: bold;}
</style>
<!--end css info-->
</head>
<body $lbbody>
$lbboard_main
</body>
</html>



5
日本xrea和x-beat去广告功略!
XREA和x-beat其实都是日本同一个公司的空间
去广告方法基本相同!
php文件的访问均可以放到share文件夹下用8080访问
都可以无广告
用代码去广告的方法如下
(2)日本xrea空间广告去处
在</HEAD>后
加<noscript>
<A HREF="http://ad.xrea.com/ad_click.fcg?site=tzbbs";><IMG
SRC="http://ad.xrea.com/ad_img.fcg?site=tzbbs.s4.xrea.com";HEIGHT="468"WIDTH="60"BORDER="0"></A>

<A HREF="http://www.xrea.com";><IMG
SRC="/mffw/UploadFiles/200408/20040812180819447.gif ;"HEIGHT="0"
WIDTH="0" BORDER="0"></A>
</noscript>
<!--nobanner-->
演示:http://xiongdi.s9.xrea.com/54xd.cgi ;

去掉 xiongdide.s6.xrea.com/ ;的广告?
xiongdide.s6.xrea.com:8080/xoops ;又没有广告,

在</HEAD>后
加<noscript>
<A HREF="http://ad.xrea.com/ad_click.fcg?site=tzbbs";><IMG
SRC="http://ad.xrea.com/ad_img.fcg?site=tzbbs.s4.xrea.com";HEIGHT="468"WIDTH="60"BORDER="0"></A>

<A HREF="http://www.xrea.com";><IMG
SRC="/mffw/UploadFiles/200408/20040812180819447.gif ;"HEIGHT="0"
WIDTH="0" BORDER="0"></A>
</noscript>
<!--nobanner-->
里面的tzbbs.s4.xrea.com就是你的网址
你自行修改!

6

免费空间http://www.91i.net
去掉91i的广告:在最后加上以下代码:
<DIV style='visibility:hidden;'><table><font color="
<xmp>
不过如果你去掉广告,好象会删除空间!
7

livin4.com广告去除法!!!

用层的效果可以隐藏那个广告牌,
代码:
<div id="Layer1" style="position: absolute; z-index: 1; left: 0;
top: 0; width: 100%; height: 90;background:black">
原理:建一个层来遮住广告牌,把层的背景颜色设成和网页背景一样就行了,
left: 0; top: 0 这是指层的位置!
演示:http://www.livin4.com/users/mzlzq/

8

lycos.co.uk去广告
系统工具-模板编辑-header 模板组-header-[编辑]

<script>
function resizeAdFrame() {
   parent.document.body.cols = "*, 0";
   timer=setTimeout("resizeAdFrame()", 1000);
}
timer=setTimeout("resizeAdFrame()", 100);
</script>
加在
<html>
<head>
之后。就是:
<html>
<head>
<script>
function resizeAdFrame() {
   parent.document.body.cols = "*, 0";
   timer=setTimeout("resizeAdFrame()", 1000);
}
timer=setTimeout("resizeAdFrame()", 100);
</script>


9
日本空间tok2.com
去除前:http://popup5.tok2.com/home2/tl163/bbs/cgi-bin/leoboard.cgi
去除后:http://popup5.tok2.com//home2/tl163/bbs/cgi-bin/leoboard.cgi
就添加一个“/"
就搞定了,简单吧,不要该代码的

10
网易10M免费空间去除方法!!
在<head>前面加入下面的代码可以成功去除:
<noscript>

<html><script language="javascript">
<!--
window.open('http://popme.163.com/diy/free.html','','width=300,height=300')
// -->
</script>
</noscript>

11
最快的方法就是在网易广告加载语句后紧跟着书写上自己去除网易广告的语句。OK,现在您试着把以下语句:<!--去网易广告的代码开始--><SCRIPT>clase();</SCRIPT><!--去网易广告的代码结束-->复制粘贴到网易广告加载语句的后面(一定要紧跟着)。现在,广告关闭的速度是不是快多了?(能不快吗?网易广告还未加载完,就被咱自己的关闭广告语句给关住了)。
演示:http://close2u.go.nease.net/
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}