I want to create my first Firefox addon to collect browsing history for a specific website, store it in a database, and then mark the content that’s already been viewed for that particular website every time i revisit it. I want to store the data indefinitely or at least export it to different computers - maybe sync it between different machines if that’s possible.
I’m a little confused about which database i can use and is best suited for my addon. I read that indexdb allows a user to visit the settings and clear the data stored. Is addon storage just a directory where an addon can store data or is it a db? And i’ve seen examples using regular sqlite databases within a browser profile.
May someone point me in the right direction please? What database should i use?
Thanks