How to get a list of currently open URLs in default browser?

asked 2019-11-20 21:02:35 +0300

Ratiodunk gravatar image

updated 2019-11-20 21:34:12 +0300

objectifnul gravatar image

The answer to the question: How to view browser history?; describes how to use sqlite3 in developer mode to access a database containing the browser history.

Unfortunately, it does not contain URLs that are currently open in the browser.

The browser does save these somewhere/somehow, as if the browser is closed, or crashes, when it is restarted, the URLs which were open are reopened. Which is nice.

I would like to get a list of the currently open URLs. A very slow way of doing this is to 'long press' on the url in the browser to copy it to the clipboard, then paste to e.g. an open Notes note. As the open url list is obviously stored somewhere to be persistent between application close-down and restart, I'd like to know how to get access to it. It would be convenient if it is an sqlite3 database, or failing that, a json file like the stored bookmarks.

Can anyone give me some guidance? Or is it a case of "Use the source, Luke.".

edit retag flag offensive close delete


This may not be enough for your need, but one can see the open tabs with the URLs currently open in them by tapping the square indicator at the bottom left corner of the browser window. The square has the number of open tabs in it.

jovirkku ( 2019-11-22 10:39:06 +0300 )edit