搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.