Tags a URL with the given set of tags. Current tags set for the URL
persist. Tags in aTags which are already set for the given URL are
ignored.
aURI | the URL to tag. |
aTags | Array of tags to set for the given URL. Each element within the array can be either a tag name (non-empty string) or a concrete itemId of a tag container. |
Removes tags from a URL. Tags from aTags which are not set for the
given URL are ignored.
aURI | the URL to un-tag. |
aTags | Array of tags to unset. Pass null to remove all tags from the given url. Each element within the array can be either a tag name (non-empty string) or a concrete itemId of a tag container. |
Retrieves all URLs tagged with the given tag.
aTag | tag name |
Array of uris tagged with aTag. |
Retrieves all tags set for the given URL.
aURI | a URL. |
array of tags (sorted by name). |
Retrieves all tags used to tag URIs in the data-base (sorted by name).
Whether any tags exist.
@note This is faster than allTags.length, since doesn’t need to sort tags.
Defines the maximal length of a tag. Related to the bug 407821
(https://bugzilla.mozilla.org/show_bug.cgi?id=407821)