how do i copy the content of url bar in local database after press enter?
I wan to copy the contents of url bar after pressing the enter, which was typed by user , I need need modify url bar function.
All Replies (6)
I think your question -- which appears to require changing the code of Firefox -- is beyond the scope of this support forum.
Is there any reason you can't just query the history in places.sqlite?
so what should i do for that , ?actually i am doing project on it, i thought that i should make one add-on, but the problem is, how to connect add-on to local database.. as javascript is use for add-on
With respect to searching history, see these articles for syntax:
With respect to using your own database, if you look at the universe of add-ons, you can see that developers have used a wide variety of techniques. Firefox itself uses the SQLite library for database storage in the user's personal settings (profile) folder; some add-ons such as Roboform store their data centrally on the system and it is shared between their browser add-ons.
These sites might be useful:
than give some direction how to achieve my job. i dont know about SQLite, how it works and all.
Please try the Extension Development forum for those questions.