1 const Cc = Components.classes;
2 const Ci = Components.interfaces;
3 Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
7 handle: function (cmdline) {
8 cmdline.preventDefault = true;
9 var conkeror = Cc["@conkeror.mozdev.org/application;1"].getService().wrappedJSObject;
10 conkeror.handle_command_line(cmdline);
12 QueryInterface: XPCOMUtils.generateQI([Ci.nsICommandLineHandler]),
13 contractID: "@mozilla.org/commandlinehandler/general-startup;1?type=conkeror",
14 classID: Components.ID("{0f4dd758-b55a-4386-a79c-8698642eac51}"),
15 classDescription: "clh_conkeror",
17 category: "command-line-handler",
22 function NSGetModule(compMgr, fileSpec)
23 XPCOMUtils.generateModule([cmdline]);