Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

SQL command insert / delete bookmark

  • 1 отговор
  • 1 има този проблем
  • 4 изгледи
  • Последен отговор от cor-el

more options

Hi, what SQL command is executed when a bookmark ist dragged from the adress bar to the bookmark menue? what SQL command is executed when a bookmark ist deleted from the bookmark menue? For example what do I have to enter in SQLite manger?

Hi, what SQL command is executed when a bookmark ist dragged from the adress bar to the bookmark menue? what SQL command is executed when a bookmark ist deleted from the bookmark menue? For example what do I have to enter in SQLite manger?

Всички отговори (1)

more options

You would have to change the folder ID if you want to move a bookmark. To remove a bookmark there are two main tables moz_bookmarks and moz_places and possible links to moz_keywords and tables that deal with annotations (moz_annos, moz_anno_attributes) and moz_favicons. You can see that this can require a lot of work if you want to do this properly.

Some files that have SQL statements that deal with bookmarks. https://dxr.mozilla.org/mozilla-release/source/toolkit/components/places/Bookmarks.jsm https://dxr.mozilla.org/mozilla-release/source/toolkit/components/places/Database.cpp https://dxr.mozilla.org/mozilla-release/source/toolkit/components/places/PlacesDBUtils.jsm https://dxr.mozilla.org/mozilla-release/source/toolkit/components/places/nsNavBookmarks.cpp

Maybe try to ask at the Reddit forum.