FC2 ザ掲示板

カテゴリ
テーマ別トーク >> デジタル・家電

ソースを解読したいのですが…

このエントリーをはてなブックマークに追加

[0] マリアンヌ 2008/09/18 11:06

以下のHPのソースを表示したところ、暗号化(?)されているのか、
正しいソースがわかりません。
そこで、復号化を試みたいのですが、HTMLはだいたいわかりますが、
Java Scriptについては無知なので、復号化できるJava Scriptのプログラムを
組みたくても組むことができません。
正しいソースが表示されるようにするには、ソースコードをどのように
記述すればよいのでしょうか?

24件のコメント 8番から14番を表示中

最初から 前の100件 次の100件 全部 最新20件 dat viwedatをダウンロード
[8] azt 2008/09/20 17:00

<HTML>
<HEAD>
<TITLE>天声空間</TITLE>

<bgsound src="Dana_International.mid" loop="-1">

<meta http-equiv="content-script-type" content="text/javascript">
<meta name="author" content="">
<meta name="copyright" content="">
<meta name="robots" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" href="diary/diary.css" type="text/css" charset="Shift_JIS">
<link rel="stylesheet" href="scr.css" type="text/css" charset="Shift_JIS">
<link rev="made" href="">

<body bgcolor="#000000" text="FFFFFF" link="#FFFFFF" alink="#BBBBBB" vlink="#B7CACA" style="scrollbar-face-color:#000000; scrollbar-track-color:#110022; scrollbar-arrow-color:#669999; scrollbar-highlight-color:#224444; scrollbar-shadow-color:#112222; scrollbar-3dlight-color:#335555; scrollbar-darkshadow-color:#224444;" bgproperties="fixed" background="" onload="typeWriter()">

<STYLE TYPE="text/css">
<!--
BODY {
background-image: url(bga/water/bg_0050.jpg);
background-repeat: fixed;

}
input,textarea,select, {
border-left: 1px solid;
border-right: 1px solid;
border-top: 1px solid;
border-bottom: 1px solid;
border-color: #ffffff;
color: #666666;
background-color: #000000;
font-size: 9pt;
font-family: "";

}

TABLE.class1{
background-position: 100% 0%;
background-repeat: no-repeat;
}

.k:first-letter{font-size:30px; font-family:MS P明朝,MS 明朝;}
.B{font-size:larger;}
.dia2{font-family:MS P明朝,MS 明朝;}
a:link{ color:#ffffff; background-color:;}
a:visited{ color:#00dddd;background-color:;}
a:hover{color:#44FF00; }

-->
</STYLE>

[9] azt 2008/09/20 17:05

<script type="text/javascript" language="javascript"><!--
typelayer="typewriter";
cursortype="_";
var str="";
str+="<DIV STYLE='width:100%;filter:Shadow(color=#0000FF,direction=45)'>
<span class=B><span class=B>この<span class=B>
<span class=B>HP</span></span></span></span>の、
<span class=B><span class=B>管理人<A HREF='http://nun.nu/ojiji.net/kakaku/profile2.html ' class=mincho>
<RUBY><RB><span class=B><NOBR><span class=B>価格破壊</span></NOBR><RP>(<RT>かかく はかい<RP>)</RUBY>
</A></span></span></span>が<span class=B><span class=B>気の<span class=B>赴</span>
く</span>まま</span>に<span class=B><span class=B><span class=B><span class=B>作った</span>
物<span class=B>。</span>
しかし<span class=B>、</span>この度</span>
</span>完全閉鎖</span>。<span class=B><span class=B>次</span>は<span class=B>
<span class=B><span class=B><NOBR><span class=B>違う</span>
</NOBR></span></span></span>HPを作りたいと思う</span>。<span class=B><span class=B>
<span class=B>次回のコンテンツ</span></span>は<span class=B>
<span class=B><span class=B>多</span>種</span></span>に渡り</span>、<span class=B>
<span class=B><span class=B>変わった</span></span>情報<span class=B><span class=B>から</span>
特殊な<span class=B><span class=B>知</span>識</span></span>、
<span class=B><span class=B>を<span class=B>主に</span>書</span>く<span class=B><span class=B>予定</span>
</span></span>。</span>違った<span class=B><span class=B>情報</span></span>
が明記されている事を・・・<span class=B><span class=B>
<span class=B><span class=B><NOBR><RUBY><RB>今まで</span>朗読<RP>
(<RT>ROM<RP>)</RUBY></NOBR></span>を<span class=B><span class=B>
<NOBR><RUBY><RB>感</span>謝<RP>(<RT>サンキュウ<RP>)</RUBY></NOBR></span></span>で<span class=B>
ある</span>が<span class=B>この<span class=B><RUBY><RB>空間<RP>(<RT>せかい<RP>)</RUBY></span></span>
は<span class=B>また</span></span>どこかの<span class=B><span class=B>サイト</span>で<span class=B>
<span class=B>存在</span></span></span>する<span class=B><span class=B><span class=B>可能性<span class=B>が</span>
あり得る</span>事<span class=B><span class=B><span class=B><NOBR>復活</NOBR></span></span></span></span></span>
は<span class=B><span class=B><span class=B>無い</span>に</span><span class=B>等しい</span><span class=B><span class=B>
<span class=B>B</span>y</span></span> 価格破壊(本名 綾香)</span>";

[10] azt 2008/09/20 17:05


str1 = str + " ";
var str2="";
var cursorOn=5;
var stopping=0;

function typeWriter(){
timerIDtype = setInterval('starttype()',60);
}
function starttype(){
if(stopping>0){stopping--}
else{
if(str1.charAt(0)=="<"){
var i = str1.indexOf(">",0)+1;
str2+=str1.substring(0,i);
str1 = str1.substring(i,str1.length);
}
else{
str2+=str1.charAt(0);
switch(str1.charAt(0)){
case "。":stopping=12;break;
case "、":stopping=6;break;
case "!":stopping=15;break;
case "?":stopping=15;break;
case " ":stopping=6;break;
case ".":stopping=12;break;
case ",":stopping=6;break;
case "!":stopping=15;break;
case "?":stopping=15;break;
case " ":stopping=3;break;
}
str1=str1.substr(1,str1.length-1);
}
}
if(cursorOn>0){
writemes(str2,"");

if(str1==""){clearInterval(timerIDtype);return false;}
}
else{
writemes(str2,cursortype);
}
cursorOn++;
if(cursorOn>5)cursorOn=-5;

}
function writemes(mes,mes2){
if(document.all)document.all(typelayer).innerHTML=mes + mes2;
if(document.getElementById)document.getElementById(typelayer).innerHTML=mes + mes2;
if(document.layers){
with(document.layers[typelayer]){
document.open();
document.write(mes + mes2);
document.close();
}
}
}

//--></script>

[11] azt 2008/09/20 17:06



<A name="#toping"></A>
<!--
<DIV style="position: absolute; top:3; left:3; background-color: #550055;
filter: Alpha(opacity=100,finishopacity=50,style=3);" align=left class="com ll-blue"><b>Notitle</B></DIV>
-->
<TABLE align=center height="100%">
<TR align="center" height="100%">
<TD align="center" valign="center" width="100%" height="100%"><BR>

<div id="typewriter" style="border:outset 0px;" class="dia2 l-blank 18 W-100 B-0 ridge" align="center"></div>
</DIV>

<BR>

</TR>
</TABLE>
<BR>
<BR>

[12] azt 2008/09/20 17:06


<script type="text/javascript">
<!--
function expand(listID) {
if (listID.style.display=="none") {
listID.style.display="";
}
else {
listID.style.display="none";
}
window.event.cancelBubble=true;
}
//-->
</script>
<script type="text/javascript" language="JavaScript1.2">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function fsq() {
if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.left += percent;
lastScrollX = lastScrollX + percent;
}
}
<!-- /STALKER CODE -->
<!-- DRAG DROP CODE -->
function fsq1(x,y) {
stalkerx = document.floater.pageX;
stalkery = document.floater.pageY;
stalkerwidth = document.floater.clip.width;
stalkerheight = document.floater.clip.height;
if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;
else return false;
}

[13] azt 2008/09/20 17:07


function fsq2(e) {
if(IE) {
whichIt = event.srcElement;
while (whichIt.id.indexOf("floater") == -1) {
whichIt = whichIt.parentElement;
if (whichIt == null) { return true; }
}
whichIt.style.pixelLeft = whichIt.offsetLeft;
whichIt.style.pixelTop = whichIt.offsetTop;
currentX = (event.clientX + document.body.scrollLeft);
currentY = (event.clientY + document.body.scrollTop);
} else {
window.captureEvents(Event.MOUSEMOVE);
if(fsq1 (e.pageX,e.pageY)) {
whichIt = document.floater;
StalkerTouchedX = e.pageX-document.floater.pageX;
StalkerTouchedY = e.pageY-document.floater.pageY;
}
}
return true;
}
function fsq3(e) {
if (whichIt == null) { return false; }
if(IE) {
newX = (event.clientX + document.body.scrollLeft);
newY = (event.clientY + document.body.scrollTop);
distanceX = (newX - currentX); distanceY = (newY - currentY);
currentX = newX; currentY = newY;
whichIt.style.pixelLeft += distanceX;
whichIt.style.pixelTop += distanceY;
if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop;
if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft;
if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20;
if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5;
event.returnValue = false;
} else {
whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);
if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset;
if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset;
if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17;
if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17;
return false;
}
return false;
}

[14] azt 2008/09/20 17:07


function dropIt() {
whichIt = null;
if(NS) window.releaseEvents (Event.MOUSEMOVE);
return true;
}
<!-- DRAG DROP CODE -->
if(NS) {
window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);
window.onmousedown = fsq2;
window.onmousemove = fsq3;
window.onmouseup = dropIt;
}
if(IE) {
document.onmousedown = fsq2;
document.onmousemove = fsq3;
document.onmouseup = dropIt;
}
if(NS || IE) action = window.setInterval("fsq()",1);
//-->
</script>

<!--
<div id="floater" style="position: absolute; width: 1; z-index: 10; left: 5; top: 90%; visibility: visible; height: 1;">
<div id="select">
<ul style="cursor:move;position: absolute;background-color: #502255;
width:150px;filter: Alpha(style=2,opacity=1000,finishopacity=50,
startX=0,startY=0,finishX=100,finishY=100)" class="l-blank"><center>
<li class=o><a href=../../001.html>戻る</a></li>
</div>
</ul>
</DIV>
</div>
-->
</HEAD>

</BODY>

</HTML>

もっと新しいコメントがあります。

次へ 最新20件

[ 削除依頼 ]

【コメントをお寄せ下さい。】