| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 842 人关注过本帖
标题:看看这个js里的图片地址是哪一段代码
只看楼主 加入收藏
shiji1
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2007-8-14
收藏
 问题点数:0 回复次数:1 
看看这个js里的图片地址是哪一段代码
我是弄的别人网站上的代码

看看这个js里的图片地址是哪一段代码,它是用什么加的密,怎样换成我自己的图片

xie ~~~


eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}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 6=G.1c;2 $g=(G.14=="15 16 Q");2 $D=$g&&(6.4(\'K 5\')!=-1);2 $Z=$g&&(6.4(\'K 5.0\')!=-1);2 $l=6.4(\'l\')!=-1;2 $p=6.4(\'p\')!=-1;2 $z=6.4(\'z\')!=-1;2 $L=6.4(\'L\')!=-1;2 $19=6.4(\'C/7\')!=-1;2 $1a=6.4(\'C/7.1\')!=-1;3($z){$g=w;$l=c;$p=c}3($D){$g=w;$l=c;$p=c}}m $Y(8,E,h){2 n=8.F(E);t(2 i=0;i<n.a;i++){3(n[i].h==h)e n[i]}e v}m V(8){2 u=R;2 r=0;3(T(8)==\'U\')8=9;W r=1;t(2 i=r;i<u.a;i++){2 s=8.F("*");2 y=c;t(2 j=0;j<s.a;j++){3(s[j].h==u[i]){8=s[j];y=w;13}}3(!y)e v}e 8}m 17(o){2 q="";2 A=o+"=";3(9.b.a>0){d=9.b.4(A);3(d!=-1){d+=A.a;k=9.b.4(";",d);3(k==-1)k=9.b.a;q=N(9.b.O(d,k))}}e q}m 10(o,H,B){2 f="";3(B!=v){f=I J((I J()).18()+B*M);f="; P="+f.S()}2 x="; x=11.12";9.b=o+"="+X(H)+f+x+";1b=/"}',62,75,'||var|if|indexOf||ua||root|document|length|cookie|false|offset|return|expire|IE|id|||end|Gecko|function|ar|name|Safari|cookieValue|i0||for|ids|null|true|domain|has|Opera|search|hours|Netscape|IE5|tag|getElementsByTagName|navigator|value|new|Date|MSIE|Mac|3600000|unescape|substring|expires|Explorer|arguments|toGMTString|typeof|string|_|else|escape|_t|IE5_0|writeCookie|17173|com|break|appName|Microsoft|Internet|readCookie|getTime|NS7|NS71|path|userAgent'.split('|'),0,{}))
function $dele(o,fn,rv){

var r = function (){

var s=arguments.callee;

var args = [];
for (var i=0;i<s.length;i++) args[i]=s[i];
var argStr = args.join(",");
if (argStr.length > 0) argStr=","+argStr;

var callStr="s.thiz[s.fn]("+argStr+")";
var v=eval(callStr);


if (s.rv!=null) {
return s.rv;
} else {
return v;
}
};

r.thiz=o;
r.fn=fn;
r.rv=rv;

return r;
}
function $ge(e){
if (e!=null) return e;
if ($IE) {
return window.event;
} else return e;
}
/**
* 获取事件发生的标签;
*/
function $gte(e,ev){
if (!e.getElementById) e=e.ownerDocument;
if ($IE) {
return ev!=null ? ev : e.parentWindow.event;
} else {
return ev;
throw new Error("这个方法仅在IE中支持");
}
}
function $addEL(n,e,l,b){

if ($IE){
if (n["$__listener_"+e]==null){
var lst=function (e){

var f=arguments.callee;
var ar=f.fList;

e=$ge(e);
for (var i=0;i<ar.length;i++){
ar[i](e);
}
};
lst.fList=[];
n["$__listener_"+e]=lst;
n["on"+e]=n["$__listener_"+e];

}
var fList=n["$__listener_"+e].fList;
fList[fList.length]=l;

} else {
n.addEventListener(e,l,b);
}
}
function $cancelEvent (e) {
if ($IE) {
e.returnValue = false;
e.cancelBubble = true;
} else
e.preventDefault();
};
function $cpAttr(o,p){
for (var i in p){
var s=p[i];
o[i]=s;
}
return o;
}
function $getValue(v,d){
return v==null ? d : v;
}
var $gv=$getValue;
var $dom={
parseInt : function(s) {
if (s == null || s == '' || typeof(s)=='undefined')
return 0;
return parseInt(s);
},
getClientSize : function(n){
if ($IE){
//ts("this is ie");
var s= {x:n.clientLeft,y:n.clientTop};
s.l=s.x;
s.t=s.y;
s.r=n.clientRight;
s.b=n.clientBottom;

s.w=n.clientWidth;
s.h=n.clientHeight;

//tr("calculated client size");

return s;
} else {
var t=n.style;
if (t.borderLeftWidth.length==0 || t.borderTopWidth.length==0 || t.borderRightWidth.length==0 || t.borderBottomWidth.length==0){

var l=n.offsetWidth;
t.borderLeftWidth="0px";
l-=n.offsetWidth;

var r=n.offsetWidth;
t.borderRightWidth="0px";
r-=n.offsetWidth;

var o=n.offsetHeight;
t.borderTopWidth="0px";
o-=n.offsetHeight;

var b=n.offsetHeight;
t.borderBottomWidth="0px";
b-=n.offsetHeight;

t.borderLeftWidth=l+"px";
t.borderTopWidth=o+"px";
t.borderRightWidth=r+"px";
t.borderBottomWidth=b+"px";

var s={l:l,r:r,t:o,b:b,x:l,y:o};


return s;
} else {
var s= {
x: this.parseInt(n.style.borderLeftWidth),
y: this.parseInt(n.style.borderTopWidth),
r: this.parseInt(n.style.borderRightWidth),
b: this.parseInt(n.style.borderBottomWidth)
};
s.l=s.x;
s.t=s.y;
return s;
}
}
},
getSize : function (n,withMargin){
var c={
x : n.offsetWidth != null ? n.offsetWidth : 0,
y : n.offsetHeight != null ? n.offsetHeight : 0
};

if (withMargin) {
var m=this.getMargin(n);
c.x+=m.l+m.r;
c.y+=m.t+m.b;
}
return c;
},

setSize : function(elmt,x,y,withMargin){
if ($IE){
if (withMargin){
var m=this.getMargin(elmt);
x-=m.l+m.r;
y-=m.t+m.b;
}
elmt.style.width=x;
elmt.style.height=y;
} else {
var clientSize=this.getClientSize(elmt);
var dx=clientSize.l+clientSize.r;

var dy=clientSize.t+clientSize.b;

elmt.style.width=x-dx+"px";
elmt.style.height=y-dy+"px";
}
},

/**
* get the context position relative to its parent.
*/
getPosition : function (elmt,withMargin){
var c;

c={
x:elmt.offsetLeft,
y:elmt.offsetTop
};
if (withMargin){
var m=this.getMargin(elmt);
c.x-=m.l;
c.y-=m.t;
}

return c;
},
setPosition : function (elmt,x,y,withMargin){
if (withMargin){
//var m=this.getMargin(elmt);
//x-=m.l;
//y-=m.t;
}
elmt.style.left=x+"px";
elmt.style.top=y+"px";
},


setAlpha : function (n,a){
return;
n.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity="+a*100+");";
n.style.opacity = a;
n.style.MozOpacity = a;
}

}
var $motion={
smooth : function (s, e, t){
return (e - s) * t + s;
}
}
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}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}('f b(g,d){3.g=g;5 c=3.d=d;c.9=$j(c.9,12);c.7=$j(c.7,2G);c.1k=$j(c.1k,2O);c.1n=$j(c.1n,0);c.1u=$j(c.1u,10);c.Y=$j(c.Y,s);c.1t=$j(c.1t,"");c.1f=$j(c.1f,$2q.2r);5 t=c.I;t.U=$j(t.U,10);t.H=$j(t.H,10);t.17=$j(t.17,10);t.U*=1m;t.H*=1m;t.17*=1m;3.V=k.K;3.1o=u;3.N=u;3.v=u;3.E=0;3.1d=u;3.1g=u;3.w=b.1c;3.S=u;3.16="1N";3.2s="m://6.l.o/q/6/1e.n";3.1R="m://6.l.o/q/6/1L.n"}b.1c=0;b.1i=1;b.Q=2;b.1K=b.1i|4;b.1O=b.Q|8;5 2t={2u:f(){5 1p=k;5 c=3.d;5 i=1b 2v();i.r=3.1R;5 p=3.1o=1p.1A("1T");3.V.1U(p);p.g=3.g;p.Z.1V="2c:1W;\\z-1X:2w;\\26:1Y;";$F.1Z(p,c.9,c.7);5 t=3.N=1p.1A("1T");p.1U(t);t.g=3.g+"2x";t.Z.1V="2c:1W;\\z-1X:1;\\26:1Y;";$F.1Z(t,c.9,c.7);$F.1F(t,0,c.7);t.1q=\' <14 9="12" J="0" 28="0" 27="0" g="2A">\'+\' <G>\'+\' <h 9="20" 7="23"><D r="m://6.l.o/q/6/2B.n" 9="20" 7="23" B="" /></h>\'+\'<h 9="18"><a g="v" 24="#"><D r="m://6.l.o/q/6/1e.n" 9="18" 7="23" B="" J=0 /></a></h>\'+\'<h 9="15"><a g="1D" 24="#"><D r="m://6.l.o/q/6/2C.n" 9="15" 7="23" B="" J=0 /></a></h>\'+\'<h 9="13"><D r="m://6.l.o/q/6/2E.n" 9="13" 7="23" B="" /></h>\'+\'</G>\'+\'</14>\'+\'<14 9="12" J="0" 27="0" 28="0" 2F="m://6.l.o/q/6/2H.n" g="2I">\'+\'<G>\'+\'<h 7="1x" 2J="2K" 2L="1l"><1y g="\'+3.g+\'2M" r="\'+c.1t+\'" 2j=0 2d=2e 9="2f%" 7="1x"></1y></h>\'+\'</G>\'+\'<G>\'+\'<h 7="4"><D r="m://6.l.o/q/6/2g.n" 9="12" 7="4" B="" /></h>\'+\'</G>\'+\'</14>\';5 1a=3.v=$1B(t,\'a\',"v");$A(1a,"11",$W(3,"29"),s);$A(1a,"11",$1I,s);5 O=$1B(t,\'a\',"1D");$A(O,"2k",f(e){$F.1H(3,0.4)},s);$A(O,"2l",f(e){$F.1H(3,1)},s);$A(O,"11",$W(3,"1r"),s);$A(O,"11",$1I,s);5 V=k.K.P<k.X.P?k.X:k.K;$A(k.K,"2m",$W(3,"R"),s);3.19=L.1v("T.R()",2n);$A(V,"2o",$W(3,"R"),s);3.R()},2p:f(){C(!3.d.Y)1M;3.E=0;3.w=b.Q;3.M()},1r:f(){3.E=3.d.7;3.w=b.1i;3.M()},1s:f(){3.16="2a";3.E=3.d.7-3.d.1k;3.w=b.1K;3.M();3.v.1q=\'<D r="m://6.l.o/q/6/1L.n" 9="18" 7="23" B="" J=0 />\';3.v.22()},2b:f(){C(!3.d.Y)1M;3.16="1N";3.E=0;3.w=b.1O;3.M();3.v.1q=\'<D r="m://6.l.o/q/6/1e.n" 9="18" 7="23" B="" J=0 />\';3.v.22()},2D:f(){L.1S("T.1r();",3.d.I.H)},21:f(){L.1S("T.1s()",3.d.I.H)},29:f(){C(3.16=="2a"){3.2b()}25{3.1s()}},M:f(){3.1j();3.S=L.1v("T.1C()",2h);3.1d=1b 1E().1G();3.1g=$F.2i(3.N).y},1j:f(){C(3.S!=u)L.1w(3.S);3.S=u},1C:f(){5 t=1b 1E().1G();t=t-3.1d;5 1h=3.w&b.Q?3.d.I.U:3.d.I.17;5 y=3.d.1f(3.1g,3.E,t/1h);3.N.Z.1l=y+"1Q";C(t>=1h){3.1J()}},1J:f(){3.1j();3.N.Z.1l=3.E+"1Q";C(3.w==b.Q&&3.d.I.H>0){3.21()}25{C(3.19!=u)L.1w(3.19)}3.w=b.1c},R:f(){5 c=3.d;5 t=k.K.P<k.X.P?k.X:k.K;5 1z=t.P+t.2y;5 1P=t.2z+t.2N;5 x=1z-c.1u-c.9;5 y=1P-c.1n-c.7;$F.1F(3.1o,x,y)}}',62,175,'|||this||var|images|height||width||PopUp||config||function|id|td||gv|document|17173|http|gif|com||www|src|true||null|switchButton|status||||addEL|alt|if|img|moveTargetPosition|dom|tr|hold|time|border|body|window|startMove|content|btn|clientWidth|MOVE_UP|onresize|intervalHandle|__popup|slideIn|container|dele|documentElement|display|style||click|306||table||mm|slideOut||__hackTimer|sBtn|new|STOP|startMoveTime|zqindex_2|motionFunc|startPosition|total|MOVE_DOWN|stopMove|miniHeight|top|1000|bottom|popup|doc|innerHTML|hide|minimize|contentUrl|right|setInterval|clearInterval|208|iframe|dx|createElement|_t|move|closeButton|Date|setPosition|getTime|setAlpha|cancelEvent|onFinishMove|SWITCH_TO_MIN|zqindex_8|return|max|SWITCH_TO_MAX|dy|px|imgMax|setTimeout|div|appendChild|cssText|absolute|index|hidden|setSize|260|delayMin|blur||href|else|overflow|cellpadding|cellspacing|switchMode|min|maximize|position|scrolling|no|96|zqindex_77|100|getPosition|frameborder|mouseover|mouseout|resize|50|scroll|show|motion|smooth|imgMin|__o|create|Image|9000|_content|scrollLeft|clientHeight|slip_window|zqindex_1a|zqindex_3|delayHide|zqindex_44|background|235|zqindex_6|slip_window_content|align|center|valign|_content_iframe|scrollTop|40'.split('|'),0,{}))
$cpAttr(PopUp.prototype,__o);
/*---------------------------------------*/
/**
* 设置和运行滑出窗口
* 在下列函数中调整滑出特性
* & 在这个函数之外的代码请勿修改
*/
function ShowHint(){
/**
* 配置对象
*/
var cfg={
//滑出窗口的宽度和高度(由嵌入内容决定)
width : 306,
height : 235,
//最小化时露出的高度
miniHeight : 23,
//距离底部和右边的距离
bottom : 0,
right : 10,

//默认滑出窗口是否显示
display : true,

//嵌入内容地址
contentUrl : "http://www.baidu.com",//广告内容页面

//时间配置 slide为弹出使用时间 hold为停留时间 slideOut为关闭或最小化的时间
time : {
slideIn : 2,
hold : 10,
slideOut : 1
}
}

//设置滑出窗后何时该被显示0~23,
//开始计算时间是早上7点每个时间片划分是7个小时,这样可以保证不用每一次访问都是在24个小时之后才看到弹出窗口.
//如晚上22点访问过后第二天7点加一个时间片也就是第二天下午14点之后就会再次看到滑出窗口
var displayTimeList = ["7+7"];

// 每一次页面载入都滑出还是在页面第一次载入是弹出
// once / eachTime
var displayMode = "eachTime";
//var displayMode = "eachTime";

//用于标记的cookie名
var cookieName="17173_slip_window";



/**
* --------------------- from here below, the codes should NOT be modified.
*/
var hours={};
var delays=[];
for (var i=0;i<displayTimeList.length;i++) {
var o = displayTimeList[i];
var ar = o.split("+");
var t = parseInt(ar[0]);
for (var m=0;m<ar.length-1;m++){
ar[m]=ar[m+1];
}
hours[t]=true;
for (var j=0;j<ar.length;j++){
hours[t + parseInt(ar[j])]=true;
}
}
displayTimeList=[];
for (var i in hours){
var s = parseInt(i);
if (isNaN(s)) continue;
displayTimeList[displayTimeList.length]=s;
}
displayTimeList = displayTimeList.sort();
//alert(displayTimeList);


var pp = new PopUp("xp", cfg);
window.__popup=pp;
pp.create();
//display:

var n=readCookie(cookieName);

if (displayMode=="eachTime")
pp.show();
else {
var tm=new Date().getTime();
if (n==null || tm>n) {
pp.show();
//get next display time
var hr=new Date().getHours();
var f = 60*60*1000;
var l = displayTimeList.concat(), len = l.length;
for (var i = 0; i < len; i++) l[len + i] = l[i] + 24;
for (var i = 0; i < l.length && hr >= l[i]; i++);
var dt = new Date();
dt.setHours(l[i] > 23 ? l[i] - 24 : l[i]);
var nextTime = dt.getTime();
if (l[i] > 23) nextTime += f * 24 ;
writeCookie(cookieName, nextTime, 24);
}
}
}
function PopUpHint(){
if (document.body == null) {
window.setTimeout(PopUpHint,500);
return;
}

ShowHint();
}
window.onload=PopUpHint;
//setTimeout("PopUpHint()",3000);

[此贴子已经被作者于2007-9-17 9:30:23编辑过]

搜索更多相关主题的帖子: 图片地址 代码 String function return 
2007-09-17 09:29
lmhllr
Rank: 8Rank: 8
等 级:贵宾
威 望:44
帖 子:1504
专家分:42
注 册:2005-5-12
收藏
得分:0 
太长了。。。。
2007-09-17 09:33
快速回复:看看这个js里的图片地址是哪一段代码
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.047886 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved