<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>I've got it.

You have a function

&lt;code&gt;if(location.href.match('\/home\.php'))
    cleartheshizzle(document);&lt;/code&gt;

that makes sure that the script only runs on the home.php page. For some reason and this has happened to me before my HREF's look like this:

1. I click on my bookmark &lt;b&gt;http://www.facebook.com/home.php&lt;/b&gt;
2. I then click on Profile or my name &lt;b&gt;http://www.facebook.com/home.php#/mlevit?&lt;/b&gt;

See what it does is instead of clearing the URL and replacing it again, it just appends &lt;b&gt;mlevit?&lt;/b&gt; to the end of it leaving &lt;b&gt;home.php&lt;/b&gt; making your script thing that it's still on the homepage.

Whereas when I go to my profile page directly &lt;b&gt;http://www.facebook.com/mlevit&lt;/b&gt; the &lt;b&gt;home.php&lt;/b&gt; doesn't exist in the URL and therefore your script doesn't run.

I think it has something to do with Firefox. Like I said before I've encountered this issue before but it fixed itself.</body>
  <body-html>&lt;p&gt;I've got it.&lt;/p&gt;

&lt;p&gt;You have a function&lt;/p&gt;

&lt;p&gt;&lt;code&gt;if(location.href.match('\/home\.php'))
&lt;br /&gt;    cleartheshizzle(document);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;that makes sure that the script only runs on the home.php page. For some reason and this has happened to me before my HREF's look like this:&lt;/p&gt;

&lt;p&gt;1. I click on my bookmark &lt;b&gt;&lt;a href=&quot;http://www.facebook.com/home.php&quot;&gt;http://www.facebook.com/home.php&lt;/a&gt;&lt;/b&gt;
&lt;br /&gt;2. I then click on Profile or my name &lt;b&gt;&lt;a href=&quot;http://www.facebook.com/home.php#/mlevit&quot;&gt;http://www.facebook.com/home.php#/mlevit&lt;/a&gt;?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;See what it does is instead of clearing the URL and replacing it again, it just appends &lt;b&gt;mlevit?&lt;/b&gt; to the end of it leaving &lt;b&gt;home.php&lt;/b&gt; making your script thing that it's still on the homepage.&lt;/p&gt;

&lt;p&gt;Whereas when I go to my profile page directly &lt;b&gt;&lt;a href=&quot;http://www.facebook.com/mlevit&quot;&gt;http://www.facebook.com/mlevit&lt;/a&gt;&lt;/b&gt; the &lt;b&gt;home.php&lt;/b&gt; doesn't exist in the URL and therefore your script doesn't run.&lt;/p&gt;

&lt;p&gt;I think it has something to do with Firefox. Like I said before I've encountered this issue before but it fixed itself.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-10-25T09:57:31Z</created-at>
  <forumable-id type="integer">44459</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">183396</id>
  <topic-id type="integer">38184</topic-id>
  <updated-at type="datetime">2009-10-25T09:57:31Z</updated-at>
  <user-agent>Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3</user-agent>
  <user-id type="integer">36766</user-id>
</post>
