TA的每日心情 | 开心 2023-4-15 08:35 |
---|
签到天数: 462 天 连续签到: 1 天 [LV.9]以坛为家II
|
这段代码是什么意思啊?
中间这段是进过加密的,下面是还原后的
<!--
var Words ="<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><title>Celidia的闺苑</title>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=javascript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if (document.layers||(document.getElementById&&!document.all))
{if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
</SCRIPT>
<SCRIPT language=javascript title=G1SCRIPT>
function disableselect(e){
return false;
}
function reEnable(){
return true;
}
document.onselectstart=new Function ("return false");
if (window.sidebar)
{
document.onmousedown=disableselect;
document.onclick=reEnable;
}
</SCRIPT>
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY oncontextmenu="return false" onselectstart="return false"
ondragstart="return false" leftMargin=0 topMargin=0 marginheight="0">
<TABLE height=230 cellSpacing=0 cellPadding=2 width=200
background=pic/2.gif border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width="100%">
<SCRIPT language=javascript>
tabloMois = new Array(
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月");
var linkcount=0;
function addlink(month, day, href) {
var tabloLien = new Array(3);
tabloLien[0] = month;
tabloLien[1] = day;
tabloLien[2] = href;
this[linkcount++] = tabloLien;
}
Array.prototype.addlink = addlink;
tabloJour = new Array();
tabloMoisNb = new Array(12);
tabloMoisNb[0]=31;
tabloMoisNb[1]=28;
tabloMoisNb[2]=31;
tabloMoisNb[3]=30;
tabloMoisNb[4]=31;
tabloMoisNb[5]=30;
tabloMoisNb[6]=31;
tabloMoisNb[7]=31;
tabloMoisNb[8]=30;
tabloMoisNb[9]=31;
tabloMoisNb[10]=30;
tabloMoisNb[11]=31;
todayDate=new Date();
CeJour=todayDate.getDay();
MoisEnCours=todayDate.getMonth();
thisdate=todayDate.getDate();
thisyear=todayDate.getYear();
thisyear = thisyear % 100;
thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));
if (((thisyear % 4 == 0)
&& !(thisyear % 100 == 0))
||(thisyear % 400 == 0)) tabloMois[1]++;
startspaces=thisdate+1;
while (startspaces > 7) startspaces-=7;
startspaces = CeJour - startspaces +1;
if (startspaces < 0) startspaces+=7;
document.write("<FONT face=';verdana';>");<!--Font Face-->
document.write("<table border=0 " );<!--Border size-->
document.write("style=';font-size : 14px; color : #ffffff; font-weight: bold;???????:???:???A??'; cellpadding=1 cellspacing=2>");<!--Border color, font size, cell padding, cellspacing and font color-->
document.write("<tr><td align=center colspan=7><center>"
+ tabloMois[MoisEnCours] + " " + thisyear
+ "</center></td></tr>");
document.write("<tr>");
document.write("<td align=center><font color=#76CBFF>一</td>");<!--une couleur par jour-->
document.write("<td align=center><font color=#76CBFF>二</td>")
document.write("<td align=center><font color=#76CBFF>三</td>");
document.write("<td align=center><font color=#76CBFF>四</td>");
document.write("<td align=center><font color=#76CBFF>五</td>");
document.write("<td align=center><font color=#76CBFF>六</td>");<!--Last color chage here-->
document.write("<td align=center><font color=#76CBFF>日</td>");
document.write("</tr>");
document.write("<tr>");
for (s=0;s<startspaces;s++) {
document.write("<td align=center>-</td>");
}
count=1;
while (count <= tabloMoisNb[MoisEnCours]) {
for (b = startspaces;b<7;b++) {
linktrue=false;
document.write("<td align=center>");
for (c=0;c<tabloJour.length;c++) {
if (tabloJour[c] != null) {
if ((tabloJour[c][0]==MoisEnCours + 1) && (tabloJour[c][1]==count)) {
document.write("<a href=\"" + tabloJour[c][2] + "\">");
linktrue=true;
}
}
}
if (count==thisdate) {
document.write("<span style=';background-color: rgb(0,0,0);border: 2px solid #709070><font color=';#ffffff';>");
<!--couleur d ela date du jour-->
}
if (count <= tabloMoisNb[MoisEnCours]) {
document.write(count);
}
else {
document.write(" ");
}
if (count==thisdate) {
document.write("</font>");
}
if (linktrue)
document.write("</a>");
document.write("</td>");
count++;
}
document.write("</tr>");
document.write("<tr>");
startspaces=0;
}
document.write("</table>");
document.write("</FONT>");
</SCRIPT>
</TD></TR>
<TR></TR>
<TR>
<TD vAlign=center align=middle width="100%"><FONT face=Verdana
size=+1><STRONG>
<SCRIPT>
document.write("<FONT style=';background-color: rgb(0,0,0);border: 1px solid #76CBFF';><font color=';#76CBFF'; size=';2';>");
var clockid=new Array()
var clockidoutside=new Array()
var i_clock=-1
var thistime= new Date()
var hours=thistime.getHours()
var minutes=thistime.getMinutes()
var seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
var thistime = hours+":"+minutes+":"+seconds
function writeclock() {
i_clock++
if (document.all || document.getElementById || document.layers) {
clockid[i_clock]="clock"+i_clock
document.write("<span id=';"+clockid[i_clock]+"'; style=';position:relative';>"+thistime+"</span>")
}
}
function clockon() {
thistime= new Date()
hours=thistime.getHours()
minutes=thistime.getMinutes()
seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
thistime = hours+":"+minutes+":"+seconds
if (document.all) {
for (i=0;i<=clockid.length-1;i++) {
var thisclock=eval(clockid)
thisclock.innerHTML=thistime
}
}
if (document.getElementById) {
for (i=0;i<=clockid.length-1;i++) {
document.getElementById(clockid).innerHTML=thistime
}
}
var timer=setTimeout("clockon()",1000)
}
window.onload=clockon
</SCRIPT>
<SCRIPT>writeclock()</SCRIPT>
<BR><BR></STRONG></FONT></TD></TR></TBODY></TABLE>
<DIV id=calque
style="Z-INDEX: 2; LEFT: 0px; WIDTH: 189px; POSITION: absolute; TOP: 0px; HEIGHT: 200px"><A
href="http://www.celidia.cn/" target=_blank></A><A href="http://www.celidia.cn/"
target=_blank><IMG height=222 alt=Celidia的闺苑
src="pic/espace.gif" width=212 border=0></A></DIV>
<SCRIPT language=javascript>
<!--
//Disable right mouse click Script
//By Celidia (mail@celidia.cn) w/ mods by Celidia
//For full source code, visit http://www.celidia.cn
var message="Celidia的闺苑制作!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</SCRIPT>
</BODY></HTML>
|
|