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!

Funkcionalnosć tutoho sydła so přez wothladowanske dźěła wobmjezuje, kotrež maja waše dožiwjenje polěpšić. Jeli nastawk waš problem njerozrisuje a chceće prašenje stajić, wobroćće so na naše zhromodźenstwo pomocy, kotrež na to čaka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomhać.

Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Dalše informacije

Tabs Recovery

  • 8 wotmołwy
  • 1 ma tutón problem
  • 14 napohladow
  • Poslednja wotmołwa wot Osvetnik

more options

Hi, this isn't quite a tab recovery as the session hasn't ended, it just won't display the window. But it's in private browsing so I don't want to close the window since I understand that nothing will be saved from that session. But is there somewhere I can access a list of tabs while the session still exists? I'd hate to lose them all.

Hi, this isn't quite a tab recovery as the session hasn't ended, it just won't display the window. But it's in private browsing so I don't want to close the window since I understand that nothing will be saved from that session. But is there somewhere I can access a list of tabs while the session still exists? I'd hate to lose them all.

Wubrane rozrisanje

You can try to use the Browser Console to save the current session data.

Note that you need to enable the command prompt.


/* Session data - Get/Set State */
ssj = SessionStore.getBrowserState(); // get Current Session State
ssj = prompt("Copy Current Session State\n\nPaste New Session State: press ESC or click Cancel to abort", ssj||"");
if(ssj){SessionStore.setBrowserState(ssj)}

You can paste the content in a file and possibly check this file via this tool.

Tutu wotmołwu w konteksće čitać 👍 1

Wšě wotmołwy (8)

more options

Wubrane rozrisanje

You can try to use the Browser Console to save the current session data.

Note that you need to enable the command prompt.


/* Session data - Get/Set State */
ssj = SessionStore.getBrowserState(); // get Current Session State
ssj = prompt("Copy Current Session State\n\nPaste New Session State: press ESC or click Cancel to abort", ssj||"");
if(ssj){SessionStore.setBrowserState(ssj)}

You can paste the content in a file and possibly check this file via this tool.

more options

Alright I will try that, but I also have a "normal" session open. For some reason that works fine but the private window won't display. If I access the browser console will it show both sessions? How would I distinguish between them?

more options

Maybe because I have a lot of tabs open, my Firefox has trouble showing the session in the Prompt dialog. I adapted cor-el's script to save to disk:

https://gist.github.com/jscher2000/d7c77f90bde6f37f526faa56c6a2b19e

more options

If you use the Browser Console then you get tabs from all open windows, regular and private browsing (isPrivate key), unlike sessionstore.jsonlz4 that only saves the tabs in regular windows. I don't know how the scrounger tool deals with PB mode tabs.

See also:

more options

cor-el said

I don't know how the scrounger tool deals with PB mode tabs.

If private windows are found in the JSON data, the window is listed with (Private) next to the number. But as you point out, that would only be in data pulled through the Browser Console and not in Firefox's standard files.

more options

Alright I got a little distracted but I finally got around to trying this, and it's telling me when I enter the command prompt that sessionstore is not defined.

I tried jscher2000's command prompt and it gave me a different error, that said:

Uncaught SyntaxError: expected expression, got '*'

more options

Make sure you are testing in the Browser Console popup window (Ctrl+Shift+j) and not in the tab-specific Web Console.

For my script, did you paste starting from line 1 ? You actually can omit lines 1-11 and start with line 12. (But don't start with any other lines.)

more options

Okay yeah that's what it was, I was using the web console. I just got it to work I'm very relieved, thanks for all the help you two you saved a lot of stuff I was working on.