复制代码代码如下:
<ancho de tabla = 100% CellPadding = 0 CellSpacing = 0 Border = 0>
<script language = "javaScript">
thisUrl = document.url;
thishref = document.location.href;
thisSloc = self.location.href;
thisDLOC = document.location;
strwrite = "<tr> <td valign = top> thaturl: </td> <td> [" + thaturl + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thishref: </td> <td> [" + thishref + "] </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>
thishref = document.location.href; <br>
thisSloc = self.location.href; <br>
<script language = "javaScript">
thattloc = top.location.href;
thisPloc = parent.document.location;
thisthost = top.location.hostName;
thishost = ubicación.hostName;
strwrite = "<tr> <td valign = top> thattloc: </td> <td> [" + thattloc + "] </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);
</script>
thattloc = top.location.href; <br>
thisPloc = parent.document.location; <br>
thisthost = top.location.hostName; <br>
thishost = ubicación.hostname; <br>
<script language = "javaScript">
tmphpage = thishref.split ("/");
thishpage = tmphpage [tmphpage.length-1];
TMPUPAGE = thisUrl.split ("/");
thisUpage = tmpupage [tmpupage.length-1];
strwrite = "<tr> <td valign = top> thishpage: </td> <td> [" + thathpage + "] </td> </tr>"
strwrite + = "<tr> <td valign = top> thisUpage: </td> <td> [" + thisUpage + "] </td> </tr>"
document.write (strwrite);
</script> <tr> <td>