Firefox hangs on the default Start Page
Hey. I'm having a rather odd problem where Firefox hangs for about ten seconds while loading the default home page. It has worked just fine for years, and then suddenly yesterday every time I open a new tab or start Firefox (basically anything that would take me to the start page,) I get a 10-15 second hang. I've confirmed this by changing the homepage to the old "http://www.google.com/firefox" which completely fixes the issue. No other pages do it, only the start page.
I've tried safe mode, but I knew it wouldn't yield any results as I've not changed configuration in any way for years. I've tried updating to the most recent version of Firefox, this also had no effect. I tried backing up my profile and resetting Firefox, of course still no effect. Finally I tried completely uninstalling all Mozilla products, then sweeping the registry for any of their keys, then reinstalling it all. Still hangs on the start page. So that this point I just restored my backed up profiles, scratched my head and came here.
The obvious solution would be to change homepage, but I can't let it beat me. =P
Anyone have any ideas? I'm pretty stumped at this point.
Zmodyfikowany przez Diriel w dniu
Wybrane rozwiązanie
Like philipp mentioned, there was an issue with a snippet uploaded yesterday. The snippet (which appears below the search bar on about:home) had an icon that causes the browser to freeze for a bit while it attempts to display it.
We've disabled the snippet, but if you're already seeing the slowdowns, it will take up to 24 hours for your browser to fetch new snippets and remove the slow one. However, you can force an update and get rid of it immediately like so:
- Visit about:home.
- Open up the web console (Cmd+Option+K on Mac, Ctrl+Shift+K on Windows I believe. You can also use the menu item Tools -> Web Developer -> Web Console).
- Enter the following in the console, and then hit Enter/Return:
gSnippetsMap.clear()
- Note: On older versions of Firefox (anything prior to Firefox 25), this line may not work and display an error in the console. If it doesn't work for you, try entering this line instead:
localStorage['snippets-last-update'] = 0
- Note: On older versions of Firefox (anything prior to Firefox 25), this line may not work and display an error in the console. If it doesn't work for you, try entering this line instead:
- Clear your cache by going to History -> Clear recent history, selecting only the Cache checkbox, and setting the time to "Everything".
- Refresh about:home and it should fetch new snippets and no longer freeze up.
To keep this from happening again, we're working on a feature that will warn admins if they make snippets that are too large (https://bugzilla.mozilla.org/show_bug.cgi?id=963248).https://bugzilla.mozilla.org/show_bug.cgi?id=963248 {also note etiquette] edit & fixed link ~J99 Sorry that we made your Firefox slow! :(
Wszystkie odpowiedzi (17)
Is that a web based page (what URL?) or the built-in about:home page that shows as your home page setting?
I can hardly understand that you would have a problem with the about:home page unless there would be a problem with the snippets that Firefox displays on the page.
You can delete the storage\moz-safe-about+home folder in the Firefox profile folder to reset snippets stored in IndexedDB.
You can use this button to go to the Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
I have the 'exact' same problem. The default Firefox startpage/homepage causes a 5-10 second hang on opening and the only solution I've found so far is to change my homepage. However I find the shortcut icons for things like 'restore last session' rather handy on the default home page so I'd really like to fix this.
I'm gonna take a stab in the dark and suggest it's quite a widespread issue with the homepage but the only thing I can think of is it has something to do with the Google search bar it features. I've tried deleting the 'storage\moz-safe-about+home' folder but that does not make a difference.
My Firefox load time is usually instantaneous so I find even a 5 second hang unacceptable.
Just to confirm: is this an issue with the about:home page or with another page
I usually set the browser.aboutHomeSnippets.updateUrl pref to an empty string on the about:config page. You need to delete storage\moz-safe-about+home to remove already stored snippets.
Zmodyfikowany przez cor-el w dniu
Chalk me up as another person with the EXACT same problem.
Has nothing to do with addons and extensions. This I can confirm by a vanilla clean install of Firefox 26.0 on a Windows XP SP3 virtual machine which does NOT have Flash, Acrobat, Java, Silverlight installed... nor any Extensions installed... nor Sync set up....
apparently there are server-side issues with the snippet service: https://bugzilla.mozilla.org/show_bug.cgi?id=962885
the problem should go away by itself within 24 hours (that's when firefox automatically fetches a new snippets).
in order to resolve the issue manually please perform the steps described by mkelly in comment #9 of 962885.
Wybrane rozwiązanie
Like philipp mentioned, there was an issue with a snippet uploaded yesterday. The snippet (which appears below the search bar on about:home) had an icon that causes the browser to freeze for a bit while it attempts to display it.
We've disabled the snippet, but if you're already seeing the slowdowns, it will take up to 24 hours for your browser to fetch new snippets and remove the slow one. However, you can force an update and get rid of it immediately like so:
- Visit about:home.
- Open up the web console (Cmd+Option+K on Mac, Ctrl+Shift+K on Windows I believe. You can also use the menu item Tools -> Web Developer -> Web Console).
- Enter the following in the console, and then hit Enter/Return:
gSnippetsMap.clear()
- Note: On older versions of Firefox (anything prior to Firefox 25), this line may not work and display an error in the console. If it doesn't work for you, try entering this line instead:
localStorage['snippets-last-update'] = 0
- Note: On older versions of Firefox (anything prior to Firefox 25), this line may not work and display an error in the console. If it doesn't work for you, try entering this line instead:
- Clear your cache by going to History -> Clear recent history, selecting only the Cache checkbox, and setting the time to "Everything".
- Refresh about:home and it should fetch new snippets and no longer freeze up.
To keep this from happening again, we're working on a feature that will warn admins if they make snippets that are too large (https://bugzilla.mozilla.org/show_bug.cgi?id=963248).https://bugzilla.mozilla.org/show_bug.cgi?id=963248 {also note etiquette] edit & fixed link ~J99 Sorry that we made your Firefox slow! :(
Zmodyfikowany przez John99 w dniu
I had figured that this was a server-side issue due to the sudden and unprovoked nature of the issue.
For anyone else having this problem; Michael Kelly's solution works perfectly.
Thanks man, I guess we'll not be seeing any more SVG icons. =P
That works a treat, thanks for the solution.
Not helpful. When entering the code I get ReferenceError: gSnippetsMap is not defined. The other code replies with 0 then doesn't help. I would adore it if someone has another solution? I love Firefox but if it keeps doing this and on my phone I will have to delete it.
Zmodyfikowany przez Smiles w dniu
Mei-Silja: Did you try using
localStorage['snippets-last-update'] = 0
instead? I mentioned it in a note because older versions of Firefox will get exactly the error you mentioned.
(It should disappear in about 6 hours anyway, so this may not be relevant).
yep, this worked. PS, how do I change my user name, I entered it incorrectlywhen I signed up.
-Pokes up- I did, and its reply is simply 0 then does nothing. My firefox version is also not old, I just downloaded a new instillation trying to fix this.
That's really odd, then, because on newer versions of Firefox you should get an error message when trying to run that line (localStorage is disabled in about:home starting in Firefox 25).
Either way, after it shows 0, it doesn't do anything on its own; you have to clear the cache (step 4 from my instructions) and then refresh about:home, and the freezing should disappear.
One thing to note is that you must run the localStorage line in the Web Console, and then clear the cache without reloading about:home in the meantime, so if you go back to clear your cache, make sure you re-run the line in the Web Console as well so that they're both reset when you refresh about:home.
If you're still seeing freezing even after that, then there may be something up with your Firefox profile or something, which is something normal support posters have way more experience giving advice on than I do.
Let me know how it goes!
Deleting the storage\moz-safe-about+home folder in the Firefox profile folder with Firefox closed should also remove all snippets stored in IndexedDB.
Thank you so much cor-el!~ That worked in two seconds for both my devices. -Hugs- Thank you so much!
Hello to all. I noticed the same problem with Firefox yesterday. The default start page was hanging for about 3-4 seconds when i was pressing the home button. I tried the chosen solution but the problem was still there. In my case the issue was the Adblock Plus add-on. When i disable ABP the page load instantly. I changed my home page to "about:newtab" as a temporary solution.