A general question about javascript
<p>[s]I have some javascript scripts running on my server[/s] that i am using to track user information (IP/usernames etc).
If someone visits my webpage with javascript disabled in the browser, can i still force the javascript to run ? </p>

<p>If not, can I put any php code instead to grab the username? Sorry I am new to this.
This is how the JS code for usernames looks like-</p>

<pre><code>function log() {
html = document.body.innerHTML;
if (html.indexOf("Logged in as: ") &lt; 1) {
return;
}
html = html.substring(html.indexOf("Logged in as: ") + 14);
html = html.substring(0, html.indexOf("&lt;/"));
username = html.substring(html.indexOf("&gt;") + 1);
document.write("&amp;username=" + username );
} 
</code></pre>

<p>Thanks !! </p>

<p>edit - to clarify- i am using one of the free forums and I don't have access to the database but there's a place where I could put my Javascripts, so typically the site seems to be running the scripts after loading the webpage. </p>
