X
モバイル版サイトに移動するには、ここをタップします。

サポートフォーラム

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Although I have copied the old sessionstore.js file (which I want to restore) to the profile directory, I can't make Firefox use it. How do I?

投稿日時

After a Firefox crash, I lost my sessionstore.

I have tried various options to restore my old sessionstore.js (which contains about 6 months of tabs I need). Previously I had saved a backup copy of it, thinking I just had to delete the current Firefox profile's sessionstore.js and sessionstore.bak files, then copy my old sessionstore.js file (with all my old tabs) into the profile directory. Then restart Firefox. That never works. Firefox doesn't recognize my restored sessionstore.js (nor the sessionstore.bak), but instead creates a new sessionstore.js every time. It's as though it has cached its own session info somewhere else. I even tried a Firefox reset, that creates a new Profile, and then did the same as above to the new profile. That didn't work, and now of course all my settings are reset.

I am using Firefox 26.0.

I even installed Tab Mix Plus and Session Manager add-ons, but they cannot help.

Help!

Thanks.

After a Firefox crash, I lost my sessionstore. I have tried various options to restore my old sessionstore.js (which contains about 6 months of tabs I need). Previously I had saved a backup copy of it, thinking I just had to delete the current Firefox profile's sessionstore.js and sessionstore.bak files, then copy my old sessionstore.js file (with all my old tabs) into the profile directory. Then restart Firefox. That never works. Firefox doesn't recognize my restored sessionstore.js (nor the sessionstore.bak), but instead creates a new sessionstore.js every time. It's as though it has cached its own session info somewhere else. I even tried a Firefox reset, that creates a new Profile, and then did the same as above to the new profile. That didn't work, and now of course all my settings are reset. I am using Firefox 26.0. I even installed Tab Mix Plus and Session Manager add-ons, but they cannot help. Help! Thanks.

システム詳細の追加情報

インストールされたプラグイン

  • Next Generation Java Plug-in 10.51.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 12.0 r0
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.06
  • 5.1.20913.0
  • BlackBerry WebSL Browser Plug-In
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

アプリケーション

  • ユーザーエージェント: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

詳細情報

Application Basics
------------------
Name: Firefox
Version: 26.0
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Extensions
----------
Name: Session Manager
Version: 0.8.0.8
Enabled: true
ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30}
Name: Tab Mix Plus
Version: 0.4.1.2.02
Enabled: true
ID: {dc572301-7619-498c-a57d-39143191b318}
Name: Skype Click to Call
Version: 6.13.0.13771
Enabled: false
ID: {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
Name: Symantec Intrusion Prevention
Version: 12.0.5.3 - 1
Enabled: false
ID: {BBDA0591-3099-440a-AA10-41764D9DB4DB}
Important Modified Preferences
------------------------------
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.disk.smart_size_cached_value: 358400
browser.places.smartBookmarksVersion: 4
browser.sessionstore.upgradeBackup.latestBuildID: 20131205075310
browser.startup.homepage_override.buildID: 20131205075310
browser.startup.homepage_override.mstone: 26.0
dom.mozApps.used: true
extensions.lastAppVersion: 26.0
gfx.direct3d.last_used_feature_level_idx: 0
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1390147458
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 0
storage.vacuum.last.places.sqlite: 1390147458
Graphics
--------
Adapter Description: NVIDIA NVS 5200M
Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Adapter RAM: 1024
ClearType Parameters: Gamma: 2200 Pixel Structure: BGR ClearType Level: 100 Enhanced Contrast: 100
Device ID: 0x0dfc
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.16571)
Driver Date: 5-28-2012
Driver Version: 8.17.12.9687
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 10
Vendor ID: 0x10de
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
JavaScript
----------
Incremental GC: true
Accessibility
-------------
Activated: false
Prevent Accessibility: 0
Library Versions
----------------
NSPR
Expected minimum version: 4.10.2
Version in use: 4.10.2
NSS
Expected minimum version: 3.15.3.1 Basic ECC
Version in use: 3.15.3.1 Basic ECC
NSSSMIME
Expected minimum version: 3.15.3.1 Basic ECC
Version in use: 3.15.3.1 Basic ECC
NSSSSL
Expected minimum version: 3.15.3.1 Basic ECC
Version in use: 3.15.3.1 Basic ECC
NSSUTIL
Expected minimum version: 3.15.3.1
Version in use: 3.15.3.1

cor-el
  • Top 10 Contributor
  • Moderator
解決数 14917 件 回答数 135396 件
投稿日時

Did you look in History > Restore Previous Session or for History > Recently Closed Tabs/Windows?

Note that on start Firefox copies the sessionstore.js file (from the previous session) to sessionstore.bak to have tabs and windows from that session available during the current session at all times and Firefox creates a new sessionstore.js for the current session.

Did you look in History > Restore Previous Session or for History > Recently Closed Tabs/Windows? Note that on start Firefox copies the sessionstore.js file (from the previous session) to sessionstore.bak to have tabs and windows from that session available during the current session at all times and Firefox creates a new sessionstore.js for the current session.

役に立った返信

No, I have done that, but these entries are always grayed out, i.e., History > Restore Previous Session or for History > Recently Closed Tabs/Windows? are grayed out.

Here is what I do: 1) I exit Firefox. And confirm in (Windows 7) Task Manager that the Firefox application is not running. 2) Go to my profile directory and copy the sessionstore.js and sessionstore.bak from my backup directory (the session tabs/windows I want to restore), which then overwrites the profile's versions of these. 3) I then bring up Firefox again. 4) Firefox creates a new session (if * below is NOT set, but the result is the same) 5) The History > Restore Previous Session or for History > Recently Closed Tabs/Windows? are grayed out.

  • Note that Tools > Options > When Firefox Starts = Show My Windows and Tabs from Last Time. However, if Tools > Options > When Firefox Starts = Show A Blank Page, the result is the same. I.e., Firefox creates a new sessionstore.js in the Profile directory.
No, I have done that, but these entries are always grayed out, i.e., History > Restore Previous Session or for History > Recently Closed Tabs/Windows? are grayed out. Here is what I do: 1) I exit Firefox. And confirm in (Windows 7) Task Manager that the Firefox application is not running. 2) Go to my profile directory and copy the sessionstore.js and sessionstore.bak from my backup directory (the session tabs/windows I want to restore), which then overwrites the profile's versions of these. 3) I then bring up Firefox again. 4) Firefox creates a new session (if * below is NOT set, but the result is the same) 5) The History > Restore Previous Session or for History > Recently Closed Tabs/Windows? are grayed out. *Note that Tools > Options > When Firefox Starts = Show My Windows and Tabs from Last Time. However, if Tools > Options > When Firefox Starts = Show A Blank Page, the result is the same. I.e., Firefox creates a new sessionstore.js in the Profile directory.
cor-el
  • Top 10 Contributor
  • Moderator
解決数 14917 件 回答数 135396 件
投稿日時

Did you try to copy only the sessionstore.bak file and rename this file to sessionstore.js?

Did you try to copy only the sessionstore.bak file and rename this file to sessionstore.js?

質問者

Yes, I just did that, but with exactly the same result: it creates a new sessionstore. js, which is empty. It does copy the old (my restored) sessionstore.js to sessionstore.bak.

All options under History are grayed out still.

Yes, I just did that, but with exactly the same result: it creates a new sessionstore. js, which is empty. It does copy the old (my restored) sessionstore.js to sessionstore.bak. All options under History are grayed out still.
cor-el
  • Top 10 Contributor
  • Moderator
解決数 14917 件 回答数 135396 件
投稿日時

You can check the sessionstore files for possible errors:

You can check the sessionstore files for possible errors: *JSON Formatter & Validator: http://jsonformatter.curiousconcept.com/

質問者

I tried. Unfortunately my file blows the JSON validator: The JSON Data field can not exceed 1000000 characters in length.

I also thought maybe it was a permission issue, but I have Administrator rights.

I tried. Unfortunately my file blows the JSON validator: The JSON Data field can not exceed 1000000 characters in length. I also thought maybe it was a permission issue, but I have Administrator rights.
cor-el
  • Top 10 Contributor
  • Moderator
解決数 14917 件 回答数 135396 件
投稿日時

You can look at post(s) in this MozillaZine forum thread about extracting URLs from a sessionstore.js file to see if that is possible.

You can look at post(s) in this MozillaZine forum thread about extracting URLs from a sessionstore.js file to see if that is possible. *http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60&p=12098147#p12098147
aqueenan 解決数 0 件 回答数 2 件
投稿日時

役に立った返信

I found a fix for this at https://bugzilla.mozilla.org/show_bug.cgi?id=668359, and it worked for me.

FIX:

Use a text editor and open the good sessionstore.bak is you still have it.

If the file begin like this:

{"windows":[],"selectedWindow":0,"_closedWindows":[{"tabs":[{"entries":[{"url":"https://

Only delete:

],"selectedWindow":0,"_closedWindows":[

So you get:

{"windows":[{"tabs":[{"entries":[{"url":"https://

I found a fix for this at https://bugzilla.mozilla.org/show_bug.cgi?id=668359, and it worked for me. FIX: Use a text editor and open the good sessionstore.bak is you still have it. If the file begin like this: {"windows":[],"selectedWindow":0,"_closedWindows":[{"tabs":[{"entries":[{"url":"https:// Only delete: ],"selectedWindow":0,"_closedWindows":[ So you get: {"windows":[{"tabs":[{"entries":[{"url":"https://