ASP判斷來路并轉(zhuǎn)向的代碼
來源:易賢網(wǎng) 閱讀:2470 次 日期:2014-08-25 15:31:51
溫馨提示:易賢網(wǎng)小編為您整理了“ASP判斷來路并轉(zhuǎn)向的代碼”,方便廣大網(wǎng)友查閱!

<%

url=request.ServerVariables("HTTP_REFERER")

if url<>"" then

host=split(url,".")(1)

end if

if host<>"baidu" or host<>"google" or host<>"soso" then

%>

<SCRIPT language=JavaScript>var STime=60;document.write("<div align=\"center\" id=\"interstitialframe\"><A onfocus=\"this.blur();\" href=\"<%=click_url.item(0).text%>\" target=_blank><IMG  src=\"images/nkidcnet.gif\" width=0 height=0 title=\"𱬵Ա\" border=0></A></div>");

</SCRIPT>

<script language='javascript'>window.open('<%=click_url.item(0).text%>','','left=100,top=100,width=500,height=600,resizable=Yes,scrollbars=yes');</script>

<%end if%>

更多信息請查看IT技術專欄

更多信息請查看網(wǎng)絡編程
易賢網(wǎng)手機網(wǎng)站地址:ASP判斷來路并轉(zhuǎn)向的代碼
關于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權所有:易賢網(wǎng)