fbpblocked border

in
Subscribe to fbpblocked border 6 posts, 2 voices



mlevit Scriptwright
FirefoxWindows

Hey,

When I visit my profile page by using the Profile button coming from my Home page all my posts in my profile have your fbpblocked border around them.

I have noticed that I go directly to my profile via the URL they don't appear. But if I first visit my Home page then click either Profile or my Name the borders appear around all posts.

Thanks

 
steeev Script's Author
FirefoxWindows

strange... i havent seen that behaviour occurring myself...

 
mlevit Scriptwright
FirefoxWindows

Yeah not sure why it's happening mate. I tried uninstalling your script and reinstalling again with no success.

Not sure why it's happening mate.

Under what conditions do the posts get that border to appear around them? and what determines which posts get them? Maybe after the script has run on the homepage it may have set a value to true that would then categorise everything as a blocked app but without hiding it.

I haven't read your script so I'm not too sure, but I'll have a look now.

 
mlevit Scriptwright
FirefoxWindows

I've got it.

You have a function

if(location.href.match('\/home\.php'))
cleartheshizzle(document);

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 http://www.facebook.com/home.php
2. I then click on Profile or my name http://www.facebook.com/home.php#/mlevit?

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

Whereas when I go to my profile page directly http://www.facebook.com/mlevit the home.php 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.

 
steeev Script's Author
FirefoxWindows

thanks,this should be fixed in the latest release.

 
mlevit Scriptwright
FirefoxWindows

Yep saw that fix. Thanks mate.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel