A small Python3 script to extract opened tabs from Firefox. Should work on any UNIX-based systems with Python >= 3.2.
python3 firefox_opened_tabs.py
will create, in the same directory, a firefox_opened_tabs.html
file containing
the list of all opened tabs in your Firefox. The script tries to find
your Firefox profile's directory the best as it can. Tabs are grouped as they
are in your Firefox.
You can also specified a file to be parsed by firefox_opened_tabs
instead
of the one of your profile with:
python3 firefox_opened_tabs.py /home/user/the_file.js
Made with love and Debian by Stéphane Péchard. Feel free to contribute, criticize and tell me what you think about it!