X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How can I recover my previously opened tabs / restore session?

Posted

HI, I've been struggling the last few days to get back all the opened tabs I had in my Firefox window. My deault setting was to resume the Firefox session from where it was when I last exited Firefox. But some weird toolbar got somehow installed in my PC and when I uninstalled it all my browsing history was deleted (from all my browsers, IE, FF and chrome) and my precious Firefox tabs were gone.

These tabs are really priceless, I collected them through some months of research and it would be impossible to redo all my work. Although I managed to find some of these sites in my browing history when I restored all of it via the "restore" function in places.sqlite file properties (in the "previous versions" tab), it's impossible to find the other sites I need by checking every visited site in my browsing history, there are thousands of them and it would be the same as starting all over from scratch.

I know too that it was unbelievably stupid of me to not bookmark these sites before, but please, isn't there any way of retrieving those lost tabs? What irks me the most is the fact that the tabs weren't loaded when I opened Firefox, but only when I clicked on them, which means that I have no clue on which dates to find the tabs, since they were only visited at the time I found them, and never loaded again.

I'd be most grateful to any hint that might solve this problem. Thank you for your attention.

PS: I should mention I've already tried Window's "System Restore" but to no avail; when I open Firefox, after having a previous session restored, it will display the same tabs I left recently (as opposed to my previous tabs, that remain lost). My OS is a win7 64 bit Ultimate

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36

More Information

Informações básicas sobre o aplicativo
Nome
Firefox
Versão
22.0
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Configuração da compilação
about:buildconfig
Extensões
Nome
Versão
Ativa
ID
Adobe Acrobat - Create PDF
1.2
true
web2pdfextension@web2pdf.adobedotcom
Advertising Cookie Opt-out
1.5
true
optout@google.com
flashget3 Extension
1.0
true
{DB9127A2-3381-41ec-82B3-1B6ED4C6F29A}
FlashGot
1.5.5.5
true
{19503e42-ca3c-4c27-b1e2-9cdb2170ee34}
Microsoft .NET Framework Assistant
0.0.0
true
{20a82645-c095-46ed-80e3-08825760534b}
avast! Online Security
8.0.1489
false
wrc@avast.com
Conduit Engine
3.3.3.2
false
engine@conduit.com
DVDVideoSoft YouTube MP3 and Video Download
4.2.1.9
false
{ACAA314B-EEBA-48e4-AD47-84E31C44796C}
Google Toolbar for Firefox
7.1.20110316W
false
{3112ca9c-de6d-4884-a869-9855de68056c}
HP Smart Web Printing
4.60
false
smartwebprinting@hp.com
Vuze Remote Community Toolbar
3.19.0.3
false
{ba14329e-9550-4989-b3f2-9732e92d17cc}
Preferências importantes modificadas
Nome
Valor
accessibility.typeaheadfind
true
accessibility.typeaheadfind.flashBar
0
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.cache.memory.capacity
65536
browser.display.show_image_placeholders
true
browser.fixup.alternate.enabled
false
browser.history_expire_days.mirror
180
browser.places.importBookmarksHTML
false
browser.places.smartBookmarksVersion
4
browser.privatebrowsing.dont_prompt_on_enter
true
browser.search.param.yahoo-fr
chr-greentree_ff&ilc=12&type=198484
browser.startup.homepage
http://www.google.com
browser.startup.homepage_override.buildID
20130618035212
browser.startup.homepage_override.mstone
22.0
browser.urlbar.autocomplete.enabled
true
dom.mozApps.used
true
dom.w3c_touch_events.expose
false
extensions.lastAppVersion
22.0
gfx.direct3d.checkDX10
false
gfx.direct3d.last_used_feature_level_idx
1
keyword.URL
http://www.google.com.br/search?hl=pt-BR&q=
network.cookie.prefsMigrated
true
network.http.max-connections
48
network.http.max-connections-per-server
16
network.http.max-persistent-connections-per-proxy
16
network.http.max-persistent-connections-per-server
8
network.http.pipelining.maxrequests
8
network.http.request.max-start-delay
0
places.database.lastMaintenance
1375458530
places.history.expiration.transient_current_max_pages
104858
places.history.expiration.transient_optimal_database_size
167772160
places.last_vacuum
1300560814
plugin.disable_full_page_plugin_for_types
application/pdf
plugin.expose_full_path
true
plugin.importedState
true
plugin.state.java
0
print.print_printer
Lexmark 3400 Series
print.printer_Adobe_PDF.print_bgcolor
false
print.printer_Adobe_PDF.print_bgimages
false
print.printer_Adobe_PDF.print_command
print.printer_Adobe_PDF.print_downloadfonts
false
print.printer_Adobe_PDF.print_edge_bottom
0
print.printer_Adobe_PDF.print_edge_left
0
print.printer_Adobe_PDF.print_edge_right
0
print.printer_Adobe_PDF.print_edge_top
0
print.printer_Adobe_PDF.print_evenpages
true
print.printer_Adobe_PDF.print_footercenter
print.printer_Adobe_PDF.print_footerleft
&PT
print.printer_Adobe_PDF.print_footerright
&D
print.printer_Adobe_PDF.print_headercenter
print.printer_Adobe_PDF.print_headerleft
&T
print.printer_Adobe_PDF.print_headerright
&U
print.printer_Adobe_PDF.print_in_color
true
print.printer_Adobe_PDF.print_margin_bottom
0.5
print.printer_Adobe_PDF.print_margin_left
0.5
print.printer_Adobe_PDF.print_margin_right
0.5
print.printer_Adobe_PDF.print_margin_top
0.5
print.printer_Adobe_PDF.print_oddpages
true
print.printer_Adobe_PDF.print_orientation
0
print.printer_Adobe_PDF.print_pagedelay
500
print.printer_Adobe_PDF.print_paper_data
9
print.printer_Adobe_PDF.print_paper_height
11,00
print.printer_Adobe_PDF.print_paper_size_type
0
print.printer_Adobe_PDF.print_paper_size_unit
1
print.printer_Adobe_PDF.print_paper_width
8,50
print.printer_Adobe_PDF.print_reversed
false
print.printer_Adobe_PDF.print_scaling
1,00
print.printer_Adobe_PDF.print_shrink_to_fit
true
print.printer_Adobe_PDF.print_to_file
false
print.printer_Adobe_PDF.print_unwriteable_margin_bottom
0
print.printer_Adobe_PDF.print_unwriteable_margin_left
0
print.printer_Adobe_PDF.print_unwriteable_margin_right
0
print.printer_Adobe_PDF.print_unwriteable_margin_top
0
print.printer_Lexmark_3400_Series.print_bgcolor
false
print.printer_Lexmark_3400_Series.print_bgimages
false
print.printer_Lexmark_3400_Series.print_command
print.printer_Lexmark_3400_Series.print_downloadfonts
false
print.printer_Lexmark_3400_Series.print_edge_bottom
0
print.printer_Lexmark_3400_Series.print_edge_left
0
print.printer_Lexmark_3400_Series.print_edge_right
0
print.printer_Lexmark_3400_Series.print_edge_top
0
print.printer_Lexmark_3400_Series.print_evenpages
true
print.printer_Lexmark_3400_Series.print_footercenter
print.printer_Lexmark_3400_Series.print_footerleft
&PT
print.printer_Lexmark_3400_Series.print_footerright
&D
print.printer_Lexmark_3400_Series.print_headercenter
print.printer_Lexmark_3400_Series.print_headerleft
&T
print.printer_Lexmark_3400_Series.print_headerright
&U
print.printer_Lexmark_3400_Series.print_in_color
true
print.printer_Lexmark_3400_Series.print_margin_bottom
0.5
print.printer_Lexmark_3400_Series.print_margin_left
0.5
print.printer_Lexmark_3400_Series.print_margin_right
0.5
print.printer_Lexmark_3400_Series.print_margin_top
0.5
print.printer_Lexmark_3400_Series.print_oddpages
true
print.printer_Lexmark_3400_Series.print_orientation
0
print.printer_Lexmark_3400_Series.print_pagedelay
500
print.printer_Lexmark_3400_Series.print_paper_data
9
print.printer_Lexmark_3400_Series.print_paper_height
11,00
print.printer_Lexmark_3400_Series.print_paper_size_type
0
print.printer_Lexmark_3400_Series.print_paper_size_unit
1
print.printer_Lexmark_3400_Series.print_paper_width
8,50
print.printer_Lexmark_3400_Series.print_reversed
false
print.printer_Lexmark_3400_Series.print_scaling
1,00
print.printer_Lexmark_3400_Series.print_shrink_to_fit
false
print.printer_Lexmark_3400_Series.print_to_file
false
print.printer_Lexmark_3400_Series.print_unwriteable_margin_bottom
0
print.printer_Lexmark_3400_Series.print_unwriteable_margin_left
0
print.printer_Lexmark_3400_Series.print_unwriteable_margin_right
0
print.printer_Lexmark_3400_Series.print_unwriteable_margin_top
0
privacy.donottrackheader.enabled
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
2
security.warn_viewing_mixed
false
storage.vacuum.last.index
1
storage.vacuum.last.places.sqlite
1373990767
Preferências do user.js
Sua pasta do perfil contém um
arquivo user.js, que inclui preferências que não foram criadas pelo Firefox.
Gráficos
Data do driver
1-18-2013
Descrição do adaptador
NVIDIA GeForce GTX 260
Direct2D ativo
true
DirectWrite ativo
true (6.2.9200.16492)
Drivers do adaptador
nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
GPU #2 ativa
false
ID do dispositivo
0x05e2
ID do fornecedor
0x10de
Janelas aceleradas pela GPU
1/1 Direct3D 10
RAM do adaptador
896
Renderização WebGL
Google Inc. -- ANGLE (NVIDIA GeForce GTX 260)
Versão do driver
9.18.13.1106
AzureCanvasBackend
direct2d
AzureContentBackend
direct2d
AzureFallbackCanvasBackend
cairo
JavaScript
Incremental GC
true
Acessibilidade
Ativado
false
Bloquear acessibilidade
0
Versões das bibliotecas
Versão mínima esperada
Versão em uso
NSPR
4.9.6
4.9.6
NSS
3.14.3.0 Basic ECC
3.14.3.0 Basic ECC
NSSSMIME
3.14.3.0 Basic ECC
3.14.3.0 Basic ECC
NSSSSL
3.14.3.0 Basic ECC
3.14.3.0 Basic ECC
NSSUTIL
3.14.3.0
3.14.3.0

Helpful Reply

Thanks a lot for your answer! By coincidence, I'd just ran into this link http://kb.mozillazine.org/Profile_folder_-_Firefox and found out that the file I should be looking for was that "sessionstore.js" one, and not the "places.sqlite". But since I've been aprox. 2 days fiddling through Firefox config, do you know if it is possible to recover an old sessionstore.js (the current sessionstore.js is useless)? So I can recover my desired session tabs. Thank you!

EDIT: Scratch that last part! (except for thank you) *PROBLEM SOLVED* Here's how to solve it: if you're using windows (I think 7, 8 or Vista, I don't know if XP has this feature.. mine is a 7 ultimate 64 bit) and have System Restore enabled, copy and paste this: %APPDATA%\Mozilla\Firefox\Profiles\ into your adress bar in windows explorer. It will bring you to your Firefox profile folder. Enter it, and search for a file called "sessionrestore.js", then right-click it and go to properties. The last tab in the 'properties' window is called "previous versions", click on it, and restore your file to a previous date saved on a System Restore storepoint. That's it! When you open Firefox again all your previous tabs will be there.

Thanks for the suggestion nevertheless Waka_Flocka_Flame !

veryzen1 0 solutions 2 answers

my boyfriend thinks he knows what's best for my computer, so he went into f.f. options and clicked "never remember history" so of course, when i open f.f. nothing from the previous session opens. Even when I press new tab, no pinned windows open. I am confused, can someone please enlighten me as to what I am doing wrong. Thank You.

veryzen1 0 solutions 2 answers

Oh, yeah, one more thing: I understand why he did that to my computer, and I know that all I need to do is go in to options, select General, and change the setting to remember history. The only thing is, won't I be giving up my privacy? Well, on second thought, Google/NSA have pretty much done that, already, so what's your suggestion?

cor-el
  • Top 10 Contributor
  • Moderator
10759 solutions 96837 answers

Hi veryzen1

If you select "never remember history" then you enter permanent Private Browsing mode and that means that you do not keep history.

Tabs, including pinned tab, from the previous session are considered as history and thus get lost when you are in Private Browsing mode.
So you will have to switch to remember history and also make sure that you do not use "Clear history when Firefox closes" to clear the history.

To see all History and Cookie settings, choose:

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"
Artist2u 0 solutions 1 answers

I have the same problem - except with WinXP...(Cleared my history - lost all the tabs I had opened and want them back).

Would a system restore to a previous day work?

Thanks!

jscher2000
  • Top 10 Contributor
2365 solutions 20925 answers

Hi Artist2u, I recommend making a backup before trying System Restore. In my opinion, that feature was extremely flaky on Windows XP and it could well leave everything in shambles. This support article has suggestions on backing up your Firefox settings: Back up and restore information in Firefox profiles.

FFV1607 0 solutions 3 answers

Cor-el:

Is there a way to get tabs back after I have selected "Clear history when Firefox closes" or are the tabs lost forever?

Richard

callianis 0 solutions 2 answers

Helpful Reply

edvardgrieg put me on the right track so thanks. Though my solution was different.

sessionrestore.js is indeed where your tabs are saved, and as you may have found out, if you lose your tabs this information is overwritten in the sessionrestore.js file.

I am using Windows XP and so I did not have the Previous versions option described by edvardgrieg. What I did have was a couple of backups of the sessionrestore.js file. One was called sessionrestore.bak and the other sessionstore.bak-20131112160018 (the long number being the date it was made). So I merely removed sessionrestore.js and renamed my sessionstore.bak-20131112160018 backup to sessionrestore.js. Remember to close your browser before you do this otherwise your newly restored backup will be overwritten and your tabs lost forever, so back up the backup like I did before you do this.

I also had a few months worth of tabs (approx 150). Glad to get them back.

EmmanuelleBRE 0 solutions 8 answers

Hello,

Happened to me the exact same thing as edvardgrieg11 in his first message. In my profile folder, i see a sessionstore.bak with lots of number but what's inside is not from the version date i want. How can i find the session backup date I need to restore? when i right click on sessionstore.js, i do not see any tab with previous version. Thanks a lot for your help. I had 50 tabs and i am desperate to get them back. Emmanuelle

jscher2000
  • Top 10 Contributor
2365 solutions 20925 answers

Hi Emmanuelle, first please make back up copies of all the sessionstore* files in a safe location.

Firefox typically renames sessionstore.js to sessionstore.bak when starting up in a new session so sessionstore.bak contains your old session and a fresh sessionstore.js contains your new session. This means that normally there is only one previous session available at any given time. (Occasionally due to file locks or other rare problems, Firefox may create files named sessionstore-1.js, sessionstore-2.js, and so forth.)

The sessionstore.bak-buildID file is created during the upgrade process, presumably to protect against major mishap. It is a snapshot of your session as of that time.

You can extend Firefox's memory for past sessions using an extension such as Session Manager. However, at this point, you have to work with what you have.

What OS are you running?

EmmanuelleBRE 0 solutions 8 answers

Hello Jscher2000,

Thanks so much for your help.

I am working with windows vista

jscher2000
  • Top 10 Contributor
2365 solutions 20925 answers

Hi Emmanuelle, Windows Vista should display the Previous Versions tab if earlier copies of the file are available (these are captured in Restore Points by Windows now and then). Please see this page for more detail on that feature: Previous versions of files: frequently asked questions.

If you have no Previous Versions for either sessionstore.js or sessionstore.bak, and you don't have any manual backups, then I'm not aware of any other way to recapture an older version of the file.

EmmanuelleBRE 0 solutions 8 answers

Hi Jscher,

I clicked on your link previous versions of files:frepquently asked questions. When I am in System Protection, in the tab System Protection, I see i can restaure automatically my local disc C on the date of 8.12.2013. Does it mean that I will loose some documents (like word documents) i worked on sunday? I just want to restaure my firefox tabs. No i don't see any Previous Versions tab when i right click on the files sessionstore.js or sessionstore.bak

Thank you for your help.

Emmanuelle

EmmanuelleBRE 0 solutions 8 answers

If i am unable to restaure that session, I would like to see all the links of the .bak session. At least, I will have the history. But when i open the file with the notepad, the file is not readible. which editor can i use to read that file properly?

thank you,

Emmanuelle

EmmanuelleBRE 0 solutions 8 answers

i was wondering : can I erase sessionstore.js and rename .bak file by js to restaure the session? or can i only do it with sessionstore.bak-buildID?

thank you

Emmanuelle

jscher2000
  • Top 10 Contributor
2365 solutions 20925 answers

Hi Emmanuelle, these threads have suggestions on how to "mine" the old file to extract the URLs:

jscher2000
  • Top 10 Contributor
2365 solutions 20925 answers

Hi Emmanuelle, you can replace sessionstore.js with sessionstore.bak while Firefox is closed, but to restore sessionstore.bak immediately while Firefox is running, you should be able to use

History > Restore Previous Session

callianis 0 solutions 2 answers

Hi Emmanuelle,

No, if you erase the 2 sessionstore files you will not restore anything. I recommend saving a copy of all of these files as suggested before you begin, close Firefox, rename the original sessionstore.jst to something else (eg sessionstore.js-123) then rename sessionstore.bak-buildID to sessionstore.js. Then when you restart Firefox it will load the data from the now renamed sessionstore.bakbuildiD. I detailed a similar procedure in my comment further above.

Performing a System Restore will not affect your personal files such as those on your desktop or in the My Documents folder. But it will change anything you have done to your system such as configuring a program, running updates or installing new programs. But if you are in doubt, make a backup of all the info you want to keep (eg Firefox bookmarks, email address book, user files stored within programs). It may or may not restore your Firefox session, but I've never done a Restore with that in mind so I can't say for sure.

EmmanuelleBRE 0 solutions 8 answers

Hi Callianis,

I have tried your solution and it worked. the only thing is that the .bak-buildID was not the version i wanted to restaure. I wanted to restaure a more recent one and it looks like this is not here anymore. in the .bak, i am able to see my link, thanks to jscher link using a third party website but this version is not the right neither (it's the day after the problem occurred).

Thank you anyway.

Emmanuelle