X
Tap here to go to the mobile version of the site.

Support Forum

how to disable remembering previous sessions in firefox

Posted

I want disable in setting firefox remembering previous session in firefox

I want disable in setting firefox remembering previous session in firefox

Chosen solution

Do you always get the previous session restored?

You can check if you have a user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
Read this answer in context 0
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • Firefox 67.0.3
  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
  • Support URL: https://support.mozilla.org/1/firefox/67.0.3/WINNT/pl/

Extensions

  • uBlock Origin 1.20.0 (uBlock0@raymondhill.net)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: AMD Radeon R9 200 Series
  • adapterDescription2:
  • adapterDeviceID: 0x6810
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 2048
  • adapterRAM2:
  • adapterSubsysID: 04641043
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • clearTypeParameters: Gamma: 1,8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50
  • contentUsesTiling: False
  • crashGuards: []
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 10.0.17134.829
  • driverDate: 9-22-2017
  • driverDate2:
  • driverVersion: 22.19.677.257
  • driverVersion2:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'Direct3D11 Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_COMPOSITING'}, {u'status': u'available', u'description': u'Direct2D', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'DIRECT2D'}, {u'status': u'available', u'description': u'Direct3D11 hardware ANGLE', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_HW_ANGLE'}, {u'status': u'available', u'description': u'GPU Process', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'GPU_PROCESS'}, {u'status': u'opt-in', u'description': u'WebRender', u'log': [{u'status': u'opt-in', u'message': u'WebRender is an opt-in feature', u'type': u'default'}], u'name': u'WEBRENDER'}, {u'status': u'blocked', u'description': u'WebRender qualified', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blocked', u'message': u'Unsupported vendor', u'type': u'env'}], u'name': u'WEBRENDER_QUALIFIED'}, {u'status': u'available', u'description': u'Off Main Thread Painting', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OMTP'}, {u'status': u'available', u'description': u'Advanced Layers', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'ADVANCED_LAYERS'}]}
  • info: {u'AzureContentBackend (UI Process)': u'skia', u'AzureCanvasBackend (UI Process)': u'skia', u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'AzureFallbackCanvasBackend (UI Process)': u'cairo', u'ApzAutoscrollInput': 1, u'AzureCanvasBackend': u'direct2d 1.1', u'AzureContentBackend': u'direct2d 1.1'}
  • isGPU2Active: False
  • lowEndMachine: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 3
  • targetFrameRate: 60
  • usesTiling: False
  • webgl1DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_filter_anisotropic OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: Google Inc. -- ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0)
  • webgl1Version: OpenGL ES 2.0 (ANGLE 2.1.0.eff6bfdb1db9)
  • webgl1WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000a819) EGL_VERSION: 1.4 (ANGLE 2.1.0.eff6bfdb1db9) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_MOZ_create_context_provoking_vertex_dont_care EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context
  • webgl2DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
  • webgl2Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Google Inc. -- ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0)
  • webgl2Version: OpenGL ES 3.0 (ANGLE 2.1.0.eff6bfdb1db9)
  • webgl2WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000a819) EGL_VERSION: 1.4 (ANGLE 2.1.0.eff6bfdb1db9) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_MOZ_create_context_provoking_vertex_dont_care EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11
  • windowUsingAdvancedLayers: True

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
McCoy
  • Top 10 Contributor
537 solutions 5045 answers

wojtek1092 said

I want disable in setting firefox remembering previous session in firefox

Hello wojtek1092,

Would you please do this :

3-bar menu => Options => General => under "Startup":

Uncheck : "Restore previous session"


In case you want to disable the Session Restore crash recovery feature (which is enabled by default) - please see :

https://support.mozilla.org/en-US/kb/restore-previous-session

(you'll have to scroll down some)

''wojtek1092 [[#question-1262464|said]]'' <blockquote> I want disable in setting firefox remembering previous session in firefox </blockquote> Hello wojtek1092, Would you please do this : 3-bar menu => Options => General => under "Startup": Uncheck : "Restore previous session" -------------------------------------------------------------------------------------------- In case you want to disable the Session Restore crash recovery feature (which is enabled by default) - please see : https://support.mozilla.org/en-US/kb/restore-previous-session (you'll have to scroll down some)
Was this helpful to you?
Quote

Question owner

I want to turn off the options for restoring previous sessions in about: config

I want to turn off the options for restoring previous sessions in about: config
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
537 solutions 5045 answers

wojtek1092 said

I want to turn off the options for restoring previous sessions in about: config

See the second part of my post ....

Also see this thread :

https://www.reddit.com/r/firefox/comments/altqlv/disable_session_restore/

When you're on the "about:config" page : Type in the search bar browser.sessionstore and see if maybe there are some prefs there that you'd like to
toggle .....

''wojtek1092 [[#answer-1231337|said]]'' <blockquote> I want to turn off the options for restoring previous sessions in about: config </blockquote> See the second part of my post .... Also see this thread : https://www.reddit.com/r/firefox/comments/altqlv/disable_session_restore/ When you're on the "about:config" page : Type in the search bar '''browser.sessionstore''' and see if maybe there are some prefs there that you'd like to <BR>toggle .....
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17482 solutions 158001 answers

You can use "Clear history when Firefox closes" to clear the browsing history. This will also prevent Firefox from restoring the previous session.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data
  • clearing "Cookies" will remove all selected cookies including cookies with an Allow exception you may want to keep
You can use "Clear history when Firefox closes" to clear the browsing history. This will also prevent Firefox from restoring the previous session. *Options/Preferences -> Privacy & Security<br>Firefox will: "Use custom settings for history":<br>[X] "Clear history when Firefox closes" -> Settings *https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox *clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data *clearing "Cookies" will remove all selected cookies including cookies with an Allow exception you may want to keep
Was this helpful to you?
Quote

Question owner

I marked in about: config all options like on reddit but still did not help, how do I turn off the browser and I turn on again and I click on restore session that will restore my previous sessions on the next tab so my problem looks, I want to disable this option completely

I marked in about: config all options like on reddit but still did not help, how do I turn off the browser and I turn on again and I click on restore session that will restore my previous sessions on the next tab so my problem looks, I want to disable this option completely
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17482 solutions 158001 answers

Did you try my above posted suggestion? As long as you keep history then there are traces of the previous session if that is what this is about. Or you can use Private Browsing mode.

Did you try my above posted suggestion? As long as you keep history then there are traces of the previous session if that is what this is about. Or you can use Private Browsing mode.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
537 solutions 5045 answers

I'll try to summarise :

When you start Firefox, you don't want you're previous session restored, but you want your homepage to open.

For some reason you don't want to disable the "Restore previous session" in Options => General => General.

Am I right so far, or am I totally misconstruing your question ?

Toggling preferences on the "about:config" page have no effect - after you've changed a value: did you then close and restart Firefox, in order for the change to take effect ?

I'll try to summarise : When you start Firefox, you don't want you're previous session restored, but you want your homepage to open. For some reason you don't want to disable the "Restore previous session" in Options => General => General. Am I right so far, or am I totally misconstruing your question ? Toggling preferences on the "about:config" page have no effect - after you've changed a value: did you then close and restart Firefox, in order for the change to take effect ?
Was this helpful to you?
Quote

Question owner

in the firefox settings I turned off memorizing the history and opened cards I also turned off in the general options remembering previous sessions, closed and turned on firefox again, nothing that gave me in about config I marked everything as it was on reddit https://i.imgur.com/cmDclGp.jpg https://i.imgur.com/p4TJ1xm.jpg https://i.imgur.com/xF2LHmT.jpg

 and browser.sessionstore.restore_tabs_lazily
in the firefox settings I turned off memorizing the history and opened cards I also turned off in the general options remembering previous sessions, closed and turned on firefox again, nothing that gave me in about config I marked everything as it was on reddit https://i.imgur.com/cmDclGp.jpg https://i.imgur.com/p4TJ1xm.jpg https://i.imgur.com/xF2LHmT.jpg and browser.sessionstore.restore_tabs_lazily
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17482 solutions 158001 answers

Chosen Solution

Do you always get the previous session restored?

You can check if you have a user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
Do you always get the previous session restored? You can check if you have a <b>user.js</b> file in the Firefox profile folder that sets the <b>browser.sessionstore.resume_session_once</b> pref to true. *http://kb.mozillazine.org/browser.sessionstore.resume_session_once You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *http://kb.mozillazine.org/Profile_folder_-_Firefox Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar. *"3-bar" menu button -> Exit (Power button) *Windows: File -> Exit *Mac: Firefox -> Quit Firefox *Linux: File -> Quit
Was this helpful to you?
Quote

Question owner

I do not always restore the previous session but I want this option to be completely removed in about: config the same as firefox does not remember the history only the appropriate keys to search and set

I do not always restore the previous session but I want this option to be completely removed in about: config the same as firefox does not remember the history only the appropriate keys to search and set
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
537 solutions 5045 answers

wojtek1092 said

I do not always restore the previous session but I want this option to be completely removed in about: config the same as firefox does not remember the history only the appropriate keys to search and set

So, you do want to restore the previous session, just not all the time. Unchecking "Restore previous session" on Options => General => Startup, isn't enough for you ....

You want to disable every "browser.sessionstore.restore" related preference on the "about:config" page - but : If you want to be able to restore the previous session from time to time, then you will have to set the value of this preference to true: browser.sessionstore.restore_on_demand

''wojtek1092 [[#answer-1231421|said]]'' <blockquote> I do not always restore the previous session but I want this option to be completely removed in about: config the same as firefox does not remember the history only the appropriate keys to search and set </blockquote> So, you ''do'' want to restore the previous session, just not all the time. Unchecking "Restore previous session" on Options => General => Startup, isn't enough for you .... You want to disable every "browser.sessionstore.restore" related preference on the "about:config" page - but : If you want to be able to restore the previous session from time to time, then you will have to set the value of this preference to '''true''': '''browser.sessionstore.restore_on_demand'''
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17482 solutions 158001 answers

On-demand prefs like browser.sessionstore.restore_on_demand are about reloading all tabs automatically or leave them in a pending state that requires to click the tab to load the page (useful in case there are hundreds of tabs to restore). It will still restore all the tabs.

The only way to prevent restoring tabs is via clearing history via "Clear history when Firefox closes" to prevent Firefox from creating sessionstore.jsonlz4. There is no (other) way to disable Session Restore.

On-demand prefs like browser.sessionstore.restore_on_demand are about reloading all tabs automatically or leave them in a pending state that requires to click the tab to load the page (useful in case there are hundreds of tabs to restore). It will still restore all the tabs. The only way to prevent restoring tabs is via clearing history via "Clear history when Firefox closes" to prevent Firefox from creating sessionstore.jsonlz4. There is no (other) way to disable Session Restore.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
537 solutions 5045 answers

When you want (just like me) to be able to restore the previous session from time to time, but not at each startup : Unchecking the box in Options => General is all it takes to not have previous sessions restored at startup.

I have set "browser.sessionstore.restore_on_demand" to "true". Previous sessions are restored when I want them to, and only when I want them to.

When you want (just like me) to be able to restore the previous session from time to time, but not at each startup : Unchecking the box in Options => General is all it takes to not have previous sessions restored at startup. I have set "browser.sessionstore.restore_on_demand" to "true". Previous sessions are restored when I want them to, and only when I want them to.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17482 solutions 158001 answers

Helpful Reply

My impression is that the OP wants to make it impossible to restore the previous session in most cases and only want to use this feature in special cases like when you haven't finished working on some tabs. Note that even closed tabs (25) and closed window (3) are stored as part of session data in sessionstore.jsonlz4.

My impression is that the OP wants to make it impossible to restore the previous session in most cases and only want to use this feature in special cases like when you haven't finished working on some tabs. Note that even closed tabs (25) and closed window (3) are stored as part of session data in sessionstore.jsonlz4.
Was this helpful to you? 1
Quote

Question owner

thanks for help, I set the browser options to delete history when closing the browser and in about config i have set "browser.sessionstore.restore_on_demand" is false

thanks for help, I set the browser options to delete history when closing the browser and in about config i have set "browser.sessionstore.restore_on_demand" is false
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17482 solutions 158001 answers

I personally prefer the (regular and pinned) on_demand prefs set to true to prevent Firefox from trying to load all tabs in case of issues or crashes or otherwise lots of tabs were open.

Does Firefox behave like you wish/prefer with those settings?

I personally prefer the (regular and pinned) on_demand prefs set to true to prevent Firefox from trying to load all tabs in case of issues or crashes or otherwise lots of tabs were open. Does Firefox behave like you wish/prefer with those settings?
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
537 solutions 5045 answers

cor-el said

My impression is that the OP wants to make it impossible to restore the previous session in most cases and only want to use this feature in special cases

That is my impression too, hence :

McCoy said

When you want (just like me) to be able to restore the previous session from time to time,
''cor-el [[#answer-1231443|said]]'' <blockquote> My impression is that the OP wants to make it impossible to restore the previous session in most cases and only want to use this feature in special cases </blockquote> That is my impression too, hence : ''McCoy [[#answer-1231442|said]]'' <blockquote> When you want (just like me) to be able to restore the previous session from time to time, </blockquote>
Was this helpful to you?
Quote

Question owner

yes firefox is very fast and no problem

yes firefox is very fast and no problem
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.