为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

All tabs lost after firefox crash.

  • 3 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hey guys. So, as I've said, I lost all my tabs. I have the Session manager plugin, but it's not showing up in the plugin toolbar nor in the Customize folder. I've copied previous.js and a backup from the Session folder to my desktop right after it happened. I tried copying and changing previous.js to sessionstore.js, but upon opening Firefox the tabs were not there and the Restore option was still greyed out. I checked previous.js in wordpad and the links are there, but there's about a hundred of them and I'd like to avoid copying all of them if I can. Is there any solution to this?

Hey guys. So, as I've said, I lost all my tabs. I have the Session manager plugin, but it's not showing up in the plugin toolbar nor in the Customize folder. I've copied previous.js and a backup from the Session folder to my desktop right after it happened. I tried copying and changing previous.js to sessionstore.js, but upon opening Firefox the tabs were not there and the Restore option was still greyed out. I checked previous.js in wordpad and the links are there, but there's about a hundred of them and I'd like to avoid copying all of them if I can. Is there any solution to this?

所有回复 (3)

more options

hi, you could try to copy/paste the content of your previous.js file into https://firefox-session-restore.herokuapp.com/

more options

philipp said

hi, you could try to copy/paste the content of your previous.js file into https://firefox-session-restore.herokuapp.com/

That does work, thanks! But as I've said, there's a LOT of them (because they were grouped), so if there's any quicker solution that'd be great!

由parantan于修改

more options

You can also open the sessionstore file in a Firefox tab. Open the Web Console (Firefox/Tools > Web Developer) and paste this code in the command line.

eval("ss = "+document.body.innerHTML.replace("<pre>","").replace("</pre>",""));
sd='';
for (var i = 0; i < ss.windows[0].tabs.length; i++) {
 var ent = ss.windows[0].tabs[i].entries;
 var last = ent[ent.length-1];
 sd+="["+(i+1)+"]:"+"<a href="+last.url+">"+last.url+"</a><br />";
}
document.body.innerHTML=sd;