rem: registerMenuCommand(docId, commandName, commandCallback, accel, access); 
add: registerMenuCommand(docId, commandName, commandCallback, accel, access, e.explicitOriginalTarget.defaultView); 
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, accel, access) {         registerMenuCommand(docId, commandName, commandCallback, accel, access);      };   }
meta: 2115	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2115/0ffe0d13bc268a9071251a057c30ab9ba398fe0b/greasemonkey.js/buggy/src/content/greasemonkey.js