This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why javascript unloads after a while without reason?

  • 7 replies
  • 2 have this problem
  • 7 views
  • Paskiausią atsakymą parašė sussycadillac

more options

Hi,

I've been using Firefox since it was Mozilla, always in Fedora Linux with many fresh installations. Today, Firefox 8 on Fedora 15.

At least in the last 3 or 4 years I am having this problem: after some minutes of use (15, 30, 90... it's random), it seems that javascript 'unloads' alone. Pressing "Shift-Cntrl-R" restores the view, but only partially, and the only way to restore normal behaviour is to restart Firefox.

This happens with ALL sites that I have visited that use javascript (that is, all sites!), even in safe-mode, and even removing the ~/.mozilla directory (!), so in particular, this problem has nothing to do with extensions, cache, history, bookmarks, etc, etc. It is indeed a problem in the core of Firefox, or in the java(script) plugin, at least in the last Fedora Core updates in the last years.

This is being sssoooooooo annoying, that I am seriously thinking going chrome.

Any clues??

Thanks, S.

Hi, I've been using Firefox since it was Mozilla, always in Fedora Linux with many '''fresh''' installations. Today, Firefox 8 on Fedora 15. At least in the last 3 or 4 years I am having this problem: after some minutes of use (15, 30, 90... it's random), it seems that javascript 'unloads' alone. Pressing "Shift-Cntrl-R" restores the view, but only partially, and the only way to restore normal behaviour is to restart Firefox. This happens with ALL sites that I have visited that use javascript (that is, all sites!), even in safe-mode, and even removing the ~/.mozilla directory (!), so in particular, this problem has nothing to do with extensions, cache, history, bookmarks, etc, etc. It is indeed a problem in the core of Firefox, or in the java(script) plugin, at least in the last Fedora Core updates in the last years. This is being sssoooooooo annoying, that I am seriously thinking going chrome. Any clues?? Thanks, S.

All Replies (7)

more options

Actually, it is not just a javascript problem. After Firefox unloads javascript, trying to access ANY site gives "File Not found". Ctrl-R and the file is found again (?!).

So probably this has nothing to do with javascript...

S.

more options

MMmmm... maybe this is why Firefox is loosing so badly against Chrome...

more options

Did you try to disable all plugins or even move them to a different location, so Firefox won't find them?

more options

No, only the addons. I'll try that.

Thanks, L.

more options

I believe you meant Extensions.

The word Addons is actually a word (that Mozilla came up with as of Firefox 2.0/3.0) used to group together Extensions, Themes, Plugins, search engines, dictionaries, personas themes.

more options

I don't know how the wording is used, sorry. But this is what I did: I removed the ~/.mozilla directory (hence cache, bookmarks, user installed "extensions", etc), and even running firefox as a fresh user and root, without making the thing any better. So the problem is user independent. Either a bug in Firefox, or a plugin (Iced-Tea?).

I am experimenting now disabling plugins. I disabled all but Iced-Tea and Flash. Next step will be to disable those. Next, I will change permissions of the plugin directory. If that doesn't help, then it has to be a bug in Firefox, at least in Fedora version, and the only solution would be to switch to another browser (no, reporting bug to Fedora wouldn't help since Red Hat bugzilla is nowadays essentially ignored and abandoned).

Thanks, L.

more options

Ok, so I tried everything: I moved the ~/.mozilla and plugins dir: same problem. So it's firefox itself, no plugin/addon/cache to blame. No solution but leave Firefox, since this is happening since years now.

It looks like for some unknown reason it gives up searching for files on the internet, and assumes them as 'not found', sometimes a javascript, somethimes even the page itself, showing the 'not found' page, that is retrieved forcing with CNTRL-R.

A pity.

Thanks for the suggestion! It was good to discard plugin problem.

Cheers, L.