I use from my addon in overlay:
com.tobwithu.xnotifier.onCheckNow();
to check new email.
How to do to check from a XPCOM component.js not overlay?
tobwithu
Mon, 08/19/2013 - 08:47
Permalink
var xn_main=Components.classes["@tobwithu.com/xnotifier;1"].getService().wrappedJSObject; xn_main.checkAll(false);
Dontest
Mon, 08/19/2013 - 23:36
Ty ;)
tobwithu
Mon, 08/19/2013 - 08:47
Permalink
Components.classes["@tobwithu
var xn_main=Components.classes["@tobwithu.com/xnotifier;1"].getService().wrappedJSObject;
xn_main.checkAll(false);
Dontest
Mon, 08/19/2013 - 23:36
Permalink
Ty ;)
Ty ;)