<div class="codetitle"> <span><a style="CURSOR: pointer" data="17887" class="copybut" id="copybut17887" onclick="doCopy('code17887')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code17887"> <br><table width="100%" cellpadding="0" cellspacing="0" border="0"> <br><script language="javascript"><BR>thisURL = document.URL; <BR>thisHREF = document.location.href; <BR>thisSLoc = self.location.href; <BR>thisDLoc = document.location; <BR>strwrite = "<tr><td valign=top>thisURL: <td>[" + thisURL + "]" <BR>strwrite += "<tr><td valign=top>thisHREF: <td>[" + thisHREF + "]" <BR>strwrite += "<tr><td valign=top>thisSLoc: <td>[" + thisSLoc + "]" <BR>strwrite += "<tr><td valign=top>thisDLoc: <td>[" + thisDLoc + "]" <BR>document.write( strwrite ); <BR></script><br>thisDLoc = document.location; <br> <br>thisURL = document.URL; <br> <br>thisHREF = document.location.href; <br> <br>thisSLoc = self.location.href;<br> <br><script language="javascript"> <BR>thisTLoc = top.location.href; <BR>thisPLoc = parent.document.location; <BR>thisTHost = top.location.hostname; <BR>thisHost = location.hostname; <BR>strwrite = "<tr><td valign=top>thisTLoc: <td>[" + thisTLoc + "]" <BR>strwrite += "<tr><td valign=top>thisPLoc: <td>[" + thisPLoc + "]" <BR>strwrite += "<tr><td valign=top>thisTHost: <td>[" + thisTHost + "]" <BR>strwrite += "<tr><td valign=top>thisHost: <td>[" + thisHost + "]" <BR>document.write( strwrite ); <BR></script><br>thisTLoc = top.location.href; <br> <br>thisPLoc = parent.document.location; <br> <br>thisTHost = top.location.hostname; <br> <br>thisHost = location.hostname;<br> <br><script language="javascript"><BR>tmpHPage = thisHREF.split( "/" ); <BR>thisHPage = tmpHPage[ tmpHPage.length-1 ]; <BR>tmpUPage = thisURL.split( "/" ); <BR>thisUPage = tmpUPage[ tmpUPage.length-1 ]; <BR>strwrite = "<tr><td valign=top>thisHPage: <td>[" + thisHPage + "]" <BR>strwrite += "<tr><td valign=top>thisUPage: <td>[" + thisUPage + "]" <BR>document.write( strwrite ); <BR></script><tr><td> <br> </td></tr> </table> </div>