use js to store current domain, full url, and ip
<p>Im trying to obtain the IP address of the user, current domain, and full page URL when my javascript is run ( for traffic analysis )</p>

<pre><code>  var ip = '&lt;!--#echo var="REMOTE_ADDR"--&gt;';
  var domain = document.domain;
  var page = window.location;
</code></pre>

<p>I keep getting errors in FF3</p>

<pre><code>Error: uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMLocation.host]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js :: anonymous :: line 12"  data: no]
</code></pre>

<p>Any ideas?</p>
