We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 6 відповідей
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від 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.

Усі відповіді (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.