复制代码代码如下::
<Tabellenbreite = 100% Cellpadding = 0 Cellspacing = 0 Grenze = 0>
<script Language = "JavaScript">
thisurl = document.url;
thref = 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> thref: </td> <td> [" + thref + "] </td> </tr>"
Strwrite + = "<tr> <td valign = top> thisSloc: </td> <td> [" + thisSloc + "] </td> </tr>"
Strwrite + = "<tr> <td valign = top> thisdloc: </td> <td> [" + thisdloc + "] </td> </tr>"
document.write (Strwrite);
</script>
thisdloc = document.location; <br>
thisurl = document.url; <br>
thref = document.location.href; <br>
thisSloc = self.location.href; <br>
<script Language = "JavaScript">
Thistloc = top.location.href;
thisploc = parent.document.location;
thostthost = top.location.hostname;
thisHost = location.hostname;
StrWrite = "<tr> <td valign = top> tiltloc: </td> <td> [" + tiltloc + "] </td> </tr>"
STRRWRITE + = "<tr> <td valign = top> thisploc: </td> <td> [" + thisploc + "] </td> </tr>"
Strwrite + = "<tr> <td valign = top> thostThost: </td> <td> [" + thostThost + "] </td> </tr>"
Strwrite + = "<tr> <td valign = top> thisHost: </td> <td> [" + thishost + "] </td> </tr>"
document.write (Strwrite);
</script>
Thistloc = top.location.href; <br>
thisploc = parent.document.location; <br>
thostthost = top.location.hostname; <br>
thisHost = location.hostname; <br>
<script Language = "JavaScript">
tmPhPage = thref.Split ("/");
thisHPage = tmphpage [tmphpage.length-1];
tmpupage = thisurl.split ("/");
thisUpage = 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>