I’ve seen the following script proposed on the technet script gallery that should show me “How to export all URLs of Firefox tabs at once”.
I said “should” because it actually doesn’t always work on my computer and there’s no error handling in any way in the proposed code 😦
First, to save you the hassle of trying that script, you can just open Tools/Options in Firefox and set the following. Even if you’ve 1000 tabs, the browser will open in a few minutes and restore the gazillion tabs without you to have to temporarily record the URL of each Firefox tabs that you want to open in the next session:
Back to the proposed script. It actually threw the following error:
Why? Because when you have a gazillion of tabs (whatever that means), your Mozilla .js file that stores the JSON data about your tabs can be quite big.
I found the following post in the Windows PowerShell forum that made me go this way: