javascript - What in a GreaseMonkey script can cause Firefox to crash? -
I have a relatively large script in GreaseMonkey and it appears that the browser is crashing after a while. It seems that it talks about it, and after some time Firefox just dies I think it is linked to my script. I'm amending the page is google.com and I'm developing the script on Mac . What are the common reasons for the GM script firefox crash?
- Memory leaks (Do you have any information about an array Make sure that you do not use global variables.)
- Endless loop (although FF will not crash)
- Your script and Google There may be an interaction between one, for example, Google Mail will send an excuse request every few seconds to find new mail. If your script is triggered on it, then this could be a problem.
Comments
Post a Comment