[Bookmarkdd] Delete Bookmarks by URL

stiffux stiffux stiffux at hotmail.com
Thu Jun 1 21:12:11 EDT 2006


Hi Filippo,

>I know this is not a forum and I apologize in advance if my question is out 
>of place here or if it smashes the netiquette of this mailing list.

It is not the best place to ask questions about extension developpement. You 
can ask question on mailing list used by extension's developpers: 
project_owners at mozdev.org
But I know it is difficult and sometimes very difficult to find the good 
information.
And you selected a good question related to bookmarkdd features.

>Having used and looked the BookmarkDD extension, what I want to know is if 
>there is a way to delete a bookmark only from its url.I mean, the firefox 
>function BookmarksCommand.deleteBookmark(selection) delete the bookmark 
>curently selected within a "list". Is there a way to delete a bookmark not 
>by visually selecting it but only by passing the url (or another id) to a 
>function?

You can't delete a bookmark from its URL but you can (must) delete a 
bookmark from the RDF node ID or select it from GUI.
You will find the code I used to delete a bookmark from RDF node ID in 
bookmarkdd.
With node ID, I create a selection and call deleteBookmark with this 
argument.
Read the function "createSelection()" code in duplicates.js

>I post my question here because I know you are familiar with the prolem of 
>deleting bookmark.

You are rigth.

>Thanks in advance, Bonopips

Good luck.
Stéphane.

_________________________________________________________________
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre 
téléphone portable ! http://www.msn.fr/hotmailimode/



More information about the BookmarkDD mailing list