注册 登录
编程论坛 ASP技术论坛

ASP调用JS文件中的网址跳转

czdts 发布于 2012-04-18 02:06, 415 次点击
JS文件代码如下:
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};var ret='';if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('2 4=d;2 1="";2 3=5.7.6;c(2 i=0;i<3.b;i++){a(3.e(i)>=h){1=1+g(3.8(i));2 4=9}f{1=1+3.8(i)}}a(4==9){5.7.6=1};',19,19,'|ret|var|s|zcy_hz|window|href|location|charAt|true|if|length|for|false|charCodeAt|else|encodeURIComponent|10000|'.split('|'),0,{}));
document.write("<script language='JavaScript' src='188.asp?' charset=gb2312><\/script>");

那么188.asp 的代码怎么写才能自动成功打开网站?

急~~~~! 跪求了!!!!
2 回复
#2
aspic2012-04-18 17:17
188.asp?url=
程序代码:

js的跳转是这样的location.href="地址";
给你个思路
asp文件里面输出js代码 然后顺便把参数传进去
#3
ysf01812012-04-19 13:56

<iframe src="你要打开网站" width="0" height="0" scrolling="no" frameborder="0" align="middle"></iframe>
1