Search completed in 0.94 seconds.
itemid - HTML: Hypertext Markup Language
the
itemid global attribute provides microdata in the form of a unique, global identifier of an item.
... the
itemid global attribute provides microdata in the form of a unique, global identifier of an item.
... the
itemid global attribute provides microdata in the form of a unique, global identifier of an item.
...And 4 more matches
nsINavBookmarksService
ervice, use: var navbookmarksservice = components.classes["@mozilla.org/browser/nav-bookmarks-service;1"] .getservice(components.interfaces.nsinavbookmarksservice); method overview void addobserver(in nsinavbookmarkobserver observer, in boolean ownsweak); void beginupdatebatch(); obsolete since gecko 1.9 void changebookmarkuri(in long long a
itemid, in nsiuri anewuri); long long createdynamiccontainer(in long long aparentfolder, in autf8string aname, in astring acontractid, in long aindex); note: renamed from createcontainer in gecko 1.9 obsolete since gecko 13.0 long long createfolder(in long long aparentfolder, in autf8string name, in long index); void endupdatebatch(); obsolete since gecko 1.9 void exp...
... only!
...okmarks); note: renamed from getbookmarkfolders in gecko 1.9 void getbookmarkidsforuritarray(in nsiuri auri, in print64array aresult); native code only!
...And 50 more matches
nsIAnnotationService
tion-service;1"] .getservice(components.interfaces.nsiannotationservice); note: the annotation service is not thread-safe.
...avalue, in long aflags, in unsigned short aexpiration); void setitemannotation(in long long a
itemid, in autf8string aname, in nsivariant avalue, in long aflags, in unsigned short aexpiration); void setpageannotationstring(in nsiuri auri, in autf8string aname, in astring avalue, in long aflags, in unsigned short aexpiration); boolean setitemannotationstring(in long long a
itemid, in autf8string aname, in astring avalue, in long aflags, in unsigned short aexpiration); void setpageannotationint32(in nsiuri auri, in autf8string aname, in long avalue, in long aflags, in unsigned short aexpiration); void setitemannotationint32(in long long a
itemid, in autf8string aname, in long avalue, in long aflags, in unsigned short aexpiration); void setpageanno...
...ong avalue, in long aflags, in unsigned short aexpiration); void setitemannotationint32(in long long a
itemid, in autf8string aname, in long avalue, in long aflags, in unsigned short aexpiration); void setpageannotationint64(in nsiuri auri, in autf8string aname, in long long avalue, in long aflags, in unsigned short aexpiration); void setitemannotationint64(in long long a
itemid, in autf8string aname, in long long avalue, in long aflags, in unsigned short aexpiration); void setpageannotationdouble(in nsiuri auri, in autf8string aname, in double avalue, in long aflags, in unsigned short aexpiration); void setitemannotationdouble(in long long a
itemid, in autf8string aname, in double avalue, in long aflags, in unsigned short aexpiration); void set...
...And 47 more matches
Places Developer Guide
in "my livemark title", // the title of the livemark siteuri, // the uri of the site.
...vemark siteuri, // the uri of the site.
...eeduri, // the uri of the actual feed.
...And 16 more matches
nsINavBookmarkObserver
toolkit/components/places/nsinavbookmarksservice.idlscriptable this interface is an observer for bookmark changes.
... void onfolderchanged(in print64 folder, in acstring property); obsolete since gecko 1.9 void onfoldermoved(in print64 folder, in print64 oldparent, in print32 oldindex, in print64 newparent, in print32 newindex); obsolete since gecko 1.9 void onfolderremoved(in print64 folder, in print64 parent, in print32 index); obsolete since gecko 1.9 void onitemadded(in long long a
itemid, in long long aparentid, in long aindex, in unsigned short aitemtype, in nsiuri auri, in autf8string atitle, in prtime adateadded, in acstring aguid, in acstring aparentguid); void onitemchanged(in long long a
itemid, in acstring aproperty, in boolean aisannotationproperty, in autf8string anewvalue, in prtime alastmodified, in unsigned short aitemtype, in long long aparentid, in acstring ...
... nsiuri auri, in autf8string atitle, in prtime adateadded, in acstring aguid, in acstring aparentguid); void onitemchanged(in long long a
itemid, in acstring aproperty, in boolean aisannotationproperty, in autf8string anewvalue, in prtime alastmodified, in unsigned short aitemtype, in long long aparentid, in acstring aguid, in acstring aparentguid); void onitemmoved(in long long a
itemid, in long long aoldparentid, in long aoldindex, in long long anewparentid, in long anewindex, in unsigned short aitemtype, in acstring aguid, in acstring aoldparentguid, in acstring anewparentguid); void onitemremoved(in long long a
itemid, in long long aparentid, in long aindex, in unsigned short aitemtype, in nsiuri auri, in acstring aguid, in acstring aparentguid); void onitem...
...And 13 more matches
Using the Places annotation service
(auri, aname, avalue, aflags, aexpiration); setpageannotationint32(auri, aname, avalue, aflags, aexpiration); setpageannotationint64(auri, aname, avalue, aflags, aexpiration); setpageannotationdouble(auri, aname, avalue, aflags, aexpiration); setpageannotationbinary(auri, aname, adata, adatalen, aflags, aexpiration); and likewise for items in the places database: setitemannotationstring(a
itemid, aname, avalue, aflags, aexpiration); setitemannotationint32(a
itemid, aname, avalue, aflags, aexpiration); setitemannotationint64(a
itemid, aname, avalue, aflags, aexpiration); setitemannotationdouble(a
itemid, aname, avalue, aflags, aexpiration); setitemannotationbinary(a
itemid, aname, avalue, adatalen, aflags, aexpiration); from javascript there are two simple function to perform all of the...
...iration); setitemannotationint64(a
itemid, aname, avalue, aflags, aexpiration); setitemannotationdouble(a
itemid, aname, avalue, aflags, aexpiration); setitemannotationbinary(a
itemid, aname, avalue, adatalen, aflags, aexpiration); from javascript there are two simple function to perform all of these operations: setpageannotation(auri, aname, avalue, aflags, aexpiration); setitemannotation(a
itemid, aname, avalue, aflags, aexpiration); these annotations all take similar parameters: uri or
itemid: this is the nsiuri of the page to annotate, or for items in the places database, the id of the item.
...retrieving annotations there are corresponding getters for the setters above (see nsiannotationservice.idl for the exact declarations): from c++: getpageannotationstring(auri, aname); getpageannotationint32(auri, aname); getpageannotationint64(auri, aname); getpageannotationdouble(auri, aname); getpageannotationbinary(auri, aname, adata, adatalen, amimetype); getitemannotationstring(a
itemid, aname); getitemannotationint32(a
itemid, aname); getitemannotationint64(a
itemid, aname); getitemannotationdouble(a
itemid, aname); getitemannotationbinary(a
itemid, aname, adata, adatalen, amimetype); from javascript: getpageannotation(auri, aname); getitemannotation(a
itemid, aname); these functions will return/throw ns_error_not_available if the annotation requested does not exist.
...And 11 more matches
Places utilities for JavaScript
int, boolean ashowpicker); boolean showminimaladdmultibookmarkui(array nsiuri aurilist); boolean showbookmarkproperties(int aid); boolean showfolderproperties(int aid); boolean showaddfolderui(string atitle, int adefaultinsertionpoint, boolean ashowpicker); array object getannotationsforuri(nsiuri auri); array object getannotationsforitem(int a
itemid); void setannotationsforuri(nsiuri auri, object aannos); void setannotationsforuri(int a
itemid, object aannos); getviewfornode(nsidomnode anode); void markpageastyped(string aurl); void markpageasfollowedbookmark(string aurl); boolean checkurlsecurity(nsinavhistoryresultnode aurinode); string getquerystringforfolder(int afolderid); ...
...curity(nsinavhistoryresultnode aurinode); string getquerystringforfolder(int afolderid); string getdescriptionfromdocument(nsidomdocument doc); string setpostdataforbookmark(int aboomarkid, string apostdata); string getpostdataforbookmark(int aboomarkid); array string geturlandpostdataforkeyword(string akeyword); string getitemdescription(int a
itemid); nsinavhistoryresultnode getmostrecentbookmarkforuri(nsiuri auri); nsinavhistoryresultnode getmostrecentfolderforfeeduri(nsiuri auri); nsinavhistoryresultnode geturlsforcontainernode(nsinavhistoryresultnode anode); void opencontainernodeintabs(nsinavhistoryresultnode anode, nsidomevent aevent); void openurinodesintabs(array nsinavhistoryresultnode ano...
...ect getannotationsforuri(auri) parameters auri the uri for which annotations are to be retrieved.
...And 5 more matches
nsIAnnotationObserver
toolkit/components/places/public/nsiannotationservice.idlscriptable please add a summary to this article.
... toolkit/components/places/public/nsiannotationservice.idlscriptable please add a summary to this article.
...ing aname); void onpageannotationset(in nsiuri apage, in autf8string aname); methods onitemannotationremoved() this method is called when an annotation is deleted for an item.
...And 3 more matches
nsIDynamicContainer
from: nsisupports last changed in gecko 1.9 (firefox 3) the service can fill result nodes directly into the container when it is opened.
...tainers for each container, registered to its service.
...oid oncontainernodeopening(in nsinavhistorycontainerresultnode acontainer, in nsinavhistoryqueryoptions aoptions); void oncontainerremoving(in long long a
itemid); methods oncontainermoved() this method is called when the given container has just been moved, in case the service needs to do any bookkeeping.
...And 3 more matches
Creating Event Targets - Archive of obsolete content
e to it, and run jpm init, accepting all the defaults.
...he following code: var {cc, ci} = require("chrome"); var { xpcomutils } = require("resource://gre/modules/xpcomutils.jsm"); var bookmarkservice = cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getservice(ci.nsinavbookmarksservice); var bookmarkobserver = { onitemadded: function(a
itemid, afolder, aindex) { console.log("added ", bookmarkservice.getbookmarkuri(a
itemid).spec); }, onitemvisited: function(a
itemid, avisitid, time) { console.log("visited ", bookmarkservice.getbookmarkuri(a
itemid).spec); }, queryinterface: xpcomutils.generateqi([ci.nsinavbookmarkobserver]) }; exports.main = function() { bookmarkservice.addobserver(bookmarkobserver, false); }; exports.onunload = function() { bookmarkservice.removeobserver(bookmarkobserver); } try ...
...ed "bookmarks.js", and add the following code: var { emit, on, once, off } = require("sdk/event/core"); var {cc, ci} = require("chrome"); var { xpcomutils }= require("resource://gre/modules/xpcomutils.jsm"); var bookmarkservice = cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getservice(ci.nsinavbookmarksservice); var bookmarkobserver = { onitemadded: function(a
itemid, afolder, aindex) { emit(exports, "added", bookmarkservice.getbookmarkuri(a
itemid).spec); }, onitemvisited: function(a
itemid, avisitid, time) { emit(exports, "visited", bookmarkservice.getbookmarkuri(a
itemid).spec); }, queryinterface: xpcomutils.generateqi([ci.nsinavbookmarkobserver]) }; bookmarkservice.addobserver(bookmarkobserver, false); exports.on = on.bind(null, exports); e...
...dk/core/heritage"); var { merge } = require("sdk/util/object"); var {cc, ci} = require("chrome"); var { xpcomutils } = require("resource://gre/modules/xpcomutils.jsm"); var bookmarkservice = cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getservice(ci.nsinavbookmarksservice); function createobserver(target) { var bookmarkobserver = { onitemadded: function(a
itemid, afolder, aindex) { emit(target, "added", bookmarkservice.getbookmarkuri(a
itemid).spec); }, onitemvisited: function(a
itemid, avisitid, time) { emit(target, "visited", bookmarkservice.getbookmarkuri(a
itemid).spec); }, queryinterface: xpcomutils.generateqi([ci.nsinavbookmarkobserver]) }; bookmarkservice.addobserver(bookmarkobserver, false); } var bookmarkman...
Bookmarks - Archive of obsolete content
an nsinavbookmarkobserver object and use the nsinavbookmarksservice.addobserver() and nsinavbookmarksservice.removeobserver() methods.
...arksservice.addobserver() and nsinavbookmarksservice.removeobserver() methods.
...rklistener = { onbeginupdatebatch: function() {}, onendupdatebatch: function() {}, onitemadded: function(a
itemid, afolder, aindex) {}, onitemremoved: function(a
itemid, afolder, aindex) {}, onitemchanged: function(abookmarkid, aproperty, aisannotationproperty, avalue) { myextension.dosomething(); }, onitemvisited: function(abookmarkid, avisitid, time) {}, onitemmoved: function(a
itemid, aoldparent, aoldindex, anewparent, anewindex) {}, queryinterface: xpcomutils.generateqi([components.interfaces.nsinavbookmarkobserver]) }; // an extension var myextension = { // this function is called when my add-on is loaded onload: function() { bmsvc.addobserver(myext_bookmarklistener, false); }, // this function is called when my add-on is unloaded onunload: function() { ...
Manipulating bookmarks using Places
an nsinavbookmarkobserver object and use the nsinavbookmarksservice.addobserver() and nsinavbookmarksservice.removeobserver() methods.
...arksservice.addobserver() and nsinavbookmarksservice.removeobserver() methods.
...rklistener = { onbeginupdatebatch: function() {}, onendupdatebatch: function() {}, onitemadded: function(a
itemid, afolder, aindex) {}, onitemremoved: function(a
itemid, afolder, aindex) {}, onitemchanged: function(abookmarkid, aproperty, aisannotationproperty, avalue) { myextension.dosomething(); }, onitemvisited: function(abookmarkid, avisitid, time) {}, onitemmoved: function(a
itemid, aoldparent, aoldindex, anewparent, anewindex) {}, queryinterface: xpcomutils.generateqi([components.interfaces.nsinavbookmarkobserver]) }; // an extension var myextension = { // this function is called when my add-on is loaded onload: function() { bmsvc.addobserver(myext_bookmarklistener, false); }, // this function is called when my add-on is unloaded onunload: function() { ...
nsINavHistoryContainerResultNode
lt on the places service that describes a container (which is any kind of grouping, including bookmark folders).
...escription state_closed 0 the container is closed.
...loading and is not all the way opened yet.