找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 701|回复: 5

哪位大虾能帮我写段代码,屏蔽此广告?斜谢!

[复制链接]
发表于 2003-10-7 23:25:56 | 显示全部楼层 |阅读模式
压缩包的cs.htm是我新建的没有任何内容的页面,cs2.htm是我上传后执行的页面.
希望大家帮忙.谢谢!
 楼主| 发表于 2003-10-7 23:31:49 | 显示全部楼层

哪位大虾能帮我写段代码,屏蔽此广告?斜谢!

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
</head>
<body>
</body>
</html>
回复

使用道具 举报

 楼主| 发表于 2003-10-7 23:32:56 | 显示全部楼层

哪位大虾能帮我写段代码,屏蔽此广告?斜谢!

执行后的
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
</head>
<body><!--
TOPCITIES MEMBER, IF THIS BANNER IS MESSING UP YOUR PAGE LAYOUT, VISIT
http://www.topcities.com/help/banner.html
FOR INSTRUCTIONS ON HOW TO FIX IT
-->
</noscript></div></xmp></style>
<CENTER>
<IFRAME WIDTH=468 HEIGHT=60 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000" SRC="http://65.208.179.196/stuff_tc/index.htm"></iframe>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
      <TD> <A HREF="http://www.topcities.com/cgi-bin/affiliates/clickcount.cgi?url=www.thefreesite.com" TARGET="_top"> <IMG SRC="http://65.208.179.196/stuff_tc/mb_thefreesite156x20.gif" WIDTH=156 HEIGHT=20 BORDER=0></A></TD>
      <TD> <A HREF="http://www.topcities.com/cgi-bin/affiliates/clickcount.cgi?url=www.topcities.com/cgi-bin/home/signup" TARGET="_top">
        <IMG SRC="http://65.208.179.196/stuff_tc/mb_topcities312x20.gif" WIDTH=312 HEIGHT=20 BORDER=0 ALT="Get Your Free 150 MB Website Now!"></A></TD>
</TR>
</TABLE>
</CENTER>
</body>
</html>
回复

使用道具 举报

 楼主| 发表于 2003-10-8 02:49:52 | 显示全部楼层

哪位大虾能帮我写段代码,屏蔽此广告?斜谢!

这个是它弹出页面的执行脚本文件(JScript Script File)内容,怎么样屏蔽???
var popunder=new Array()
popunder[0]="http://www.serverpro.com"
popunder[1]="http://www.serverpro.com/plans/"
popunder[2]="http://www.serverpro.com/plans/compare.htm"
//popunder[0]="http://www.popuptraffic.com/assign.php?l=microtimes"
//Pop-under only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause popunder to load every time page is loaded
var once_per_session=1
var sec_per_ad=10
///No editing beyond here required/////
var expdate = new Date();
var exptemp = expdate.getTime() + (sec_per_ad * 1000);
expdate.setTime(exptemp);
var nowdate = new Date((new Date()).getTime());
function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (documents&#46;cookie.length > 0) {
    offset = documents&#46;cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = documents&#46;cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
         end = documents&#46;cookie.length;
      returnvalue=unescape(documents&#46;cookie.substring(offset, end))
      }
   }
  return returnvalue;
}
function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
documents&#46;cookie="popunder=" + expdate + ";expires=" + expdate.toGMTString() + ";";
}
else {
//if (nowdate > get_cookie('popunder')) {
//loadpopunder()
documents&#46;cookie="popunder=" + expdate + ";expires=" + expdate.toGMTString() + ";";
//}
}
}
function loadpopunder(){
win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))])
win2.blur()
window.focus()
}
if (once_per_session==0)
loadpopunder()
else
loadornot()
回复

使用道具 举报

发表于 2003-10-8 10:01:55 | 显示全部楼层

哪位大虾能帮我写段代码,屏蔽此广告?斜谢!

咳,既然吃了人家免费的饭菜,帮人家做做广告也不算过分啊……
回复

使用道具 举报

发表于 2003-12-10 00:57:50 | 显示全部楼层

哪位大虾能帮我写段代码,屏蔽此广告?斜谢!

呵呵,是
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-4-3 00:10

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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