browser-history icon indicating copy to clipboard operation
browser-history copied to clipboard

[FEATURE REQ] Ability to import or write history back to browser?

Open AlJohri opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. In order to build a browser history syncing solution, it would be great to have an API with the ability to write the history back to the browser.

Describe the solution you'd like Similar to a get_history function, I would love to see a set_history function that takes histories and writes it to a specific browser.

Describe alternatives you've considered None

Additional context As far as I can tell, there are no cross-browser syncing solutions available in 2024. This API would help enable that.

AlJohri avatar Jun 15 '24 23:06 AlJohri

@AlJohri since browsers store the history, bookmarks, etc. information in SQLite databases, this should be possible albeit with some care to avoid corrupting the existing histories. @Samyak2 this seems like an interesting feature.

ObaraEmmanuel avatar Jun 30 '24 20:06 ObaraEmmanuel

Interesting idea! This will need some R&D to figure out if it's even possible - will browsers pick up changes we manually make to the SQLite DBs? If so, for which browsers will this work?

Samyak2 avatar Jul 04 '24 16:07 Samyak2