I'm doing firefox addon that has it's sqlite database mydb.sqlite
. It's a database of my selected links and I have a load event for gBrowser
.
Now I would like to write a code that will check the content.document.location
on each load event and will notify me if the currently open link is in the database or if it is not in the database (e.g. with some icon on the status bar).
Do you know how to do it efficiently? So it won't slow down firefox much?
thank you