disable session restore
So, i've been having issues with firefox restoring my session after i kill it with task manager, and returning to the page that caused it to stop responding in the first place, is it possible to disable session restore entirely, after all, i don't actually use it anyways.
Выбранное решение
I don't think there is a simple on/off switch for session restore. What might help, though, is to change what Firefox does at startup after a crash: instead of immediately restoring all windows and tabs, it can present a screen saying something like "This is embarrassing" and listing the windows and tabs so you can deselect the ones you don't care about, or just start a new session.
If you want to try that, here's how:
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the search box above the list, type or paste sess and pause while the list is filtered
(3) Double-click the browser.sessionstore.max_resumed_crashes and edit the value from 1 to 0 (that's a zero) and OK the change.
This way, you could still restore the last session on demand (e.g., using History > Restore Previous Session) when needed, but you won't be forced to do it.
Прочитайте этот ответ в контексте 👍 0Все ответы (2)
Выбранное решение
I don't think there is a simple on/off switch for session restore. What might help, though, is to change what Firefox does at startup after a crash: instead of immediately restoring all windows and tabs, it can present a screen saying something like "This is embarrassing" and listing the windows and tabs so you can deselect the ones you don't care about, or just start a new session.
If you want to try that, here's how:
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the search box above the list, type or paste sess and pause while the list is filtered
(3) Double-click the browser.sessionstore.max_resumed_crashes and edit the value from 1 to 0 (that's a zero) and OK the change.
This way, you could still restore the last session on demand (e.g., using History > Restore Previous Session) when needed, but you won't be forced to do it.
Изменено
If you are having a lot of problems with "not responding" we have a support article with some suggestions:
Also, because Flash can cause this problem and is used pervasively through the web, I suggest the following to minimize potential issues with Flash during your troubleshooting:
(1) To avoid unnecessary pain on sites where Flash is not actually essential, try setting Flash to Click-to-Play ("Ask to Activate"). This will delay Flash from starting on a page until you approve it.
To set "Ask to Activate", open the Add-ons page using either:
- Ctrl+Shift+a
- "3-bar" menu button (or Tools menu) > Add-ons
In the left column, click Plugins. Look for "Shockwave Flash" and change "Always Activate" to "Ask to Activate".
With this setting, when you visit a site that wants to use Flash, you should see a notification icon in the address bar and usually (but not always) one of the following: a link in a dark gray rectangle in the page or an infobar sliding down between the toolbar area and the page.
The plugin notification icon in the address bar typically looks like a small, dark gray Lego block. (If it's red, Flash needs updating.)
The delay in activating Flash can help distinguish between problems caused on initial page load, styling, and script activation vs. loading/running Flash.
If you see a good reason to use Flash, and the site looks trustworthy, you can go ahead and click the notification icon in the address bar to allow Flash. You can trust the site for the time being or permanently.
But some pages use Flash only for tracking or playing ads, so if you don't see an immediate need for Flash, feel free to ignore the notification! It will just sit there in case you want to use it later.
(2) A common cause of unresponsive script errors on Windows Vista and higher is the protected mode feature of the Flash player plugin. That feature has security benefits, but seems to have serious compatibility issues on some systems. You can disable it using the Add-ons page. Either:
- Ctrl+Shift+a
- "3-bar" menu button (or Tools menu) > Add-ons
In the left column, click Plugins. On the right side, find "Shockwave Flash" and click the More link. Then uncheck the box for "Enable Adobe Flash protected mode" and try that for a day to see whether it helps.