复制代码代码如下 :
<테이블 너비 = 100% 셀 패딩 = 0 셀 스페이스 = 0 경계 = 0>
<script language = "javaScript">
thisurl = document.url;
thishref = document.location.href;
thissloc = self.location.href;
thisdloc = document.location;
strwrite = "<tr> <td valign = top> thisurl : </td> <td> [" + thisurl + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thishref : </td> <td> [" + thishref + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thissloc : </td> <td> [" + thisloc + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thisdloc : </td> <td> [" + thisdloc + "] </td> </tr>"
document.write (strwrite);
</스크립트>
thisdloc = document.location; <br>
thisurl = document.url; <br>
thishref = document.location.href; <br>
thissloc = self.location.href; <br>
<script language = "javaScript">
thistloc = top.location.href;
thisploc = parent.document.location;
Thisthost = top.location.hostname;
thishost = location.hostname;
strwrite = "<tr> <td valign = top> thistloc : </td> <td> [" + thistloc + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thisploc : </td> <td> [" + thisploc + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thisthost : </td> <td> [" + thisthost + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thishost : </td> <td> [" + thishost + "] </td> </tr>"
document.write (strwrite);
</스크립트>
thistloc = top.location.href; <br>
thisploc = parent.document.location; <br>
Thisthost = top.location.hostname; <br>
thishost = location.hostname; <br>
<script language = "javaScript">
tmphpage = thishref.split ( "/");
thishpage = tmphpage [tmphpage.length-1];
tmpupage = thisurl.split ( "/");
이 upage = tmpupage [tmpupage.length-1];
strwrite = "<tr> <td valign = top> thishpage : </td> <td> [" + thishpage + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thisupage : </td> <td> [" + thisupage + "] </td> </tr>"
document.write (strwrite);
</script> <tr> <td>