We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-11-20 21:02:35 +0200

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

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."

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

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."Luke.".

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

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.".