Get a list of open Tabs
-
A Former User last edited by
pretty easy: I want to export my open tabs as a list of URLs. Plaintext, XML, HTML, CSV - I dont care.
I tried to use an opera account, but it seems like I can only transfer tab by tab, not all at once.
Then I copied my \data\data\com.opera..... folder and browsed the content. appstate.bin does contain the open tabs, but it also contains other URLs, most likely previous URLs fro the same tab.So how can I extract the list of URLs of currently open tabs?
-
A Former User last edited by
@loraflipo What do you mean "which version" ? I always use the current version
-
alxobr last edited by
@lkjkfjlifjsdf
Creating Speed Dial Folders
Open all the tabs you want to save, right-click one of the tabs and choose "Save tabs as Speed Dial folder" to save the entire session. Opera doesn't assign a name to the new folder automatically, so you need to do it manually. Click "Opera," click "Speed Dial" to open the Speed Dial page, right-click the folder and click "Edit title." Type a name and click "OK." To open all the Web pages in the folder at once, right-click the folder and choose "Open all" from the context menu. To add new pages to the folder, click the folder, then the "+" button, type each address and click "Add it." To display the Speed Dial page when you launch the Web browser, click "Opera," "Settings" and then the "Open the start page" radio button in the On Startup section.Source: https://itstillworks.com/program-speed-dial-6284962.html
-
A Former User last edited by
@alxobr said in Get a list of open Tabs:
@lkjkfjlifjsdf
Creating Speed Dial Folders
Open all the tabs you want to save, right-click one of the tabs and choose "Save tabs as Speed Dial folder" to save the entire session. Opera doesn't assign a name to the new folder automatically, so you need to do it manually. Click "Opera," click "Speed Dial" to open the Speed Dial page, right-click the folder and click "Edit title." Type a name and click "OK." To open all the Web pages in the folder at once, right-click the folder and choose "Open all" from the context menu. To add new pages to the folder, click the folder, then the "+" button, type each address and click "Add it." To display the Speed Dial page when you launch the Web browser, click "Opera," "Settings" and then the "Open the start page" radio button in the On Startup section.Source: https://itstillworks.com/program-speed-dial-6284962.myfedloan
Thanks for the great feedback.
-
lucidbrot last edited by
I know @lkjkfjlifjsdf already knows how to do that, but for future visitors stumbling upon this problem: I have posted a short bash command that extracts the URLs from appstate.bin
https://android.stackexchange.com/a/225700/96334
It still contains more urls than it should, I think, but I can live with 40 additional urls in a set of 240 actual urls.
strings appstate.bin | \ grep -v -e 'operaui://startpage' -e 'Speed Dial' | \ grep -A2 reader_mode_state | \ sort -u | grep -v 'reader_mode_state' | grep -oh "http.*$"