Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

import session

  • 2 답장
  • 2 이 문제를 만남
  • 3 보기
  • 최종 답변자: DynV

more options

I'll give some context after getting to the point. I have a saved %AppData%\Mozilla\Firefox\Profiles\SOME_LETTERS_AND_NUMBERS.default\sessionstore-backups\previous.js (includes Windows environment variable) which I'd like its content to replace the current session; I want all the tabs and windows in it to be in Firefox once again.

In a session that included some videos (which tend to play when loading, taking both CPU and attention from me to pause/close them) and numerous tabs, FF crashed. I was in a middle of something and wanted to get quickly back to it so I didn't restore my previous session right away. The time-sensitive event ended and I wanted to recover the session but menu > History > Restore Previous Session was disabled. I hurried to get some information and found out where the session were located and copied the directory content as soon as I could. The 3 other files in the folder were not related to the session I wanted (file in 1st paragraph). I tried to restore the session but when I loaded it didn't show what normally is shown after a clean FF exit, about:sessionrestore with the windows & tabs tree, but instead had my home page and Restore Previous Session enabled, however when I clicked the latter nothing was restored and the files in the session dir (in 1st paragraph) were replaced so I closed FF, deleted the files, replaced them with the good ones and repeated the process and got the same result (I did that a few times with variations on what files I replaced).

Thank you kindly for your help

I'll give some context after getting to the point. I have a saved %AppData%\Mozilla\Firefox\Profiles\SOME_LETTERS_AND_NUMBERS.default\sessionstore-backups\previous.js (includes Windows environment variable) which I'd like its content to replace the current session; I want all the tabs and windows in it to be in Firefox once again. In a session that included some videos (which tend to play when loading, taking both CPU and attention from me to pause/close them) and numerous tabs, FF crashed. I was in a middle of something and wanted to get quickly back to it so I didn't restore my previous session right away. The time-sensitive event ended and I wanted to recover the session but menu > History > Restore Previous Session was disabled. I hurried to get some information and found out where the session were located and copied the directory content as soon as I could. The 3 other files in the folder were not related to the session I wanted (file in 1st paragraph). I tried to restore the session but when I loaded it didn't show what normally is shown after a clean FF exit, about:sessionrestore with the windows & tabs tree, but instead had my home page and Restore Previous Session enabled, however when I clicked the latter nothing was restored and the files in the session dir (in 1st paragraph) were replaced so I closed FF, deleted the files, replaced them with the good ones and repeated the process and got the same result (I did that a few times with variations on what files I replaced). Thank you kindly for your help

모든 댓글 (2)

more options

hi DynV, please proceed like this which should bring back the old session:

  • close all running instances of firefox.
  • rename your backed-up previous.js to sessionstore.js
  • put the renamed sessionstore.js file directly into your profile folder at %AppData%\Mozilla\Firefox\Profiles\SOME_LETTERS_AND_NUMBERS.default overwriting the existing file there
  • launch firefox

you can find out more information about how the session restore mechanism in firefox works in this blog post by a mozilla engineer: https://dutherenverseauborddelatable.wordpress.com/2014/06/26/firefox-the-browser-that-has-your-backup/

more options

After doing what philipp suggested, the following is what's happening for me. about:sessionrestore doesn't include anything where a tree would be. Using Restore Previous Session will only restore some of the windows that session contain, in particular the windows I'm most interested in.