Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla 도움말 검색

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

자세히 살펴보기

Restore tabs from .js file

more options

I got tangled in the tabs manager and closed it... closing all my tabs. I have located js files "recovery.js"; "recovery.bak" and "previous.js". I copied the last session that I wanted to restore and renamed the file for the three types of files previously mentioned. I put the 3 new files in profile folder after I had logged out of Firefox. The previous session I was looking for was not restored.

I had had "restore previous session" checked but removed that designation before restarting. If I do "about:sessionrestore " it says there is nothing to restore, although the three files (recovery bak and js plus previous js) are in profile folder. Please advise.

Thank you

I got tangled in the tabs manager and closed it... closing all my tabs. I have located js files "recovery.js"; "recovery.bak" and "previous.js". I copied the last session that I wanted to restore and renamed the file for the three types of files previously mentioned. I put the 3 new files in profile folder after I had logged out of Firefox. The previous session I was looking for was not restored. I had had "restore previous session" checked but removed that designation before restarting. If I do "about:sessionrestore " it says there is nothing to restore, although the three files (recovery bak and js plus previous js) are in profile folder. Please advise. Thank you

모든 댓글 (3)

more options

You have a backup of all these files in a safe location? Good.

This has gotten a little more complicated in Firefox 33. The file that Firefox will look for at startup is still called sessionstore.js. However, while you are running Firefox, it is updating those other files, and it seems that sessionstore.js is written out when Firefox exits.

Thus, you need to remove sessionstore.js (you can rename it to sessionstore.old) before starting up Firefox so it looks in the sessionstore-backups folder for the files you have restored there.

Does that make sense?

Or you could rename your most promising file as sessionstore.js so that Firefox reads that file at startup. Please only make the switch with Firefox fully shut down.

more options

Thank you for your reply. I changed the name of the promising file (which has the desired yesterday's date on it) to sessionstore.js but the newer session of tabs opened. I think the old file is still ok but just not being opened.

It seems as if Firefox does not want to open that file. (It was not in the folder before... as i said, just *.bak and the 2 js files ("recover" and "previous").

I opened Firefox after the file had been renamed to sessionstore and got homepage. Then I went to History and Restore session. Is there another way to get Firefox to open sessionstore.js file?

Should I only have the desired sessionstore.js file in the sessionstorebackups folder? Could that be the problem (I have other files that have been renamed in it but don't think Firefox would open them?)

Thanks again.

more options

The sessionstore.js file is in the profile folder at the main level, not in the sessionstore-backups folder. Since this just got revamped in Firefox 33, I'm not 100% certain, but I believe that is where Firefox will look for the file. After exiting Firefox and renaming the (small, useless) sessionstore.js file to sessionstore.old, try moving the (promising) sessionstore.js file into the main profile folder right next to sessionstore.old.