Since I'm not on face book I can't test your script, but I did look
briefly at it.
1) I didn't see the script peppered with alerts so you can tell how
far it gets before crashing FF.
Surely if you put "alert('starting')" at the top of script that will
do something.
2) Have you run Windows Task Manager (or whatever it is called in W7)
to see if FF is rapidly eating up and running out of memory? That can
cause unexplained crashes..
3) Have you tried rebooting? Sometimes XP/Vista/W7 gets screwed up
such that FF behaves badly even after reloading but works fine after a
reboot.
On Jan 10, 7:09 pm, Gigitrix <[email protected]> wrote:
> Hi there, I'm essentially reporting what *may* be a bug at this point.
> I'm working on my first userscript (I'm predominantly PHP/MySQL, and
> hate javascript with a passion but it must be done ;) ) And it seems
> that everytime my script runs on a particular page, firefox
> immediately crashes.
>
> Here is my script.http://userscripts.org/scripts/version/64902/162079.user.js
>
> The script runs fine on any page of Mythmonger (http://
> apps.facebook.com/mythmonger/*), even on the
> pagehttp://apps.facebook.com/mythmonger/turn.php, but as soon as it
> hitshttp://apps.facebook.com/mythmonger/archive.phpthe page appears to
> physically load, then firefox crashes. None of the visible effects
> from my script (e.g. alert() statements) are visible.
>
> I get that there are probably errors in my code: that's not the
> problem here. The issue I have is that the errors shouldn't be able to
> bring down ff: even infinite loops are caught by the browser itself,
> and I would at least see SOMETHING going on there... Clearly
> greasemonkey "denial of service" attacks aren't viable, but it's not a
> good thing...
>
> I can't check the error console as there is no way to get to it (FF
> completely locks up and must be force-quit) but I tried disabling all
> extensions and the result still stands. If I turn greasemonkey off
> (grey monkey) it loads absolutely fine. Other greasemonkey scripts, as
> well as this one on other pages, have worked like a charm.
>
> To summarise, using the script seen above and visiting archive.php of
> that facebook app, firefox crashes to desktop. I wish I could provide
> a simpler test case but javascript really isn't my area and i've
> stumbled across this while trying to develop my application. I am very
> willing to provide additional details as I would love to find out
> what's at the root of this problem.
>
> --Toby Pinder
>
> Environment Details:
>
> Windows 7 Professional
> Firefox 3.5.7
> Greasemonkey 0.8.20091209.4
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.