rem: function(commandName, commandCallback) { registerMenuCommand(docId, commandName, commandCallback); 
add: function(commandName, commandCallback, accel, access) { registerMenuCommand(docId, commandName, commandCallback, accel, access); 
context:   this.loadDoc = function(e) {    var docId;    var document = e.originalTarget;    if (!document.__gmId) {      document.__gmId = nextDocId++;    }    docMenuCommands[document.__gmId] =       window.document.createElement('menupopup');        //enclose the docId to register on.    //simplifies API, and disallows registering commands on a doc other     //than the one the script's on.    docId = document.__gmId;        e.explicitOriginalTarget.defaultView.GM_registerMenuCommand =       function(commandName, commandCallback) {         registerMenuCommand(docId, commandName, commandCallback);      };   }
meta: 4585	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4585/904826b1a895d0db9b1b022eb38190c51df5f2d6/greasemonkey.js/clean/src/content/greasemonkey.js