Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do i copy the content of url bar in local database after press enter?

  • 6 प्रत्युत्तर
  • 1 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर the-edmeister

more options

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.

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)

more options

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?

more options

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

more options

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:

more options

than give some direction how to achieve my job. i dont know about SQLite, how it works and all.

more options

Please try the Extension Development forum for those questions.