rem: this.gmSvc.domContentLoaded({ wrappedJSObject: unsafeWin }); 
add: this.gmSvc.domContentLoaded({ wrappedJSObject: unsafeWin }, window); 
context: GM_BrowserUI.contentLoad = function(e) {  var unsafeWin;  var href;  var commander;  if (!GM_getEnabled()) {    return;  }  unsafeWin = e.target.defaultView.wrappedJSObject;  href = e.target.location.href;  if (GM_isGreasemonkeyable(href)) {    commander = this.getCommander(unsafeWin);    // if this content load is in the focused tab, attach the menuCommaander    if (unsafeWin == this.tabBrowser.selectedBrowser.contentWindow) {      this.currentMenuCommander = commander;      this.currentMenuCommander.attach();    }    this.gmSvc.domContentLoaded({ wrappedJSObject: unsafeWin });    GM_listen(unsafeWin, "pagehide", GM_hitch(this, "contentUnload"));  }  if (!href.match(/\.user\.js$/)) {    return;  }  var browser = this.tabBrowser.selectedBrowser;  var greeting = this.bundle.getString("greeting.msg");  if (this.tabBrowser.showMessage) {    // Firefox 1.5 and lower    this.tabBrowser.showMessage(      browser,      "chrome://greasemonkey/content/status_on.gif",      greeting,      this.bundle.getString('greeting.btn'),      null /* default doc shell */,      "install-userscript",      null /* no popuup */,      "top",      true /* show close button */,      "I" /* access key */);  } else {    // Firefox 2.0+    var notificationBox = this.tabBrowser.getNotificationBox(browser);    // Remove existing notifications. Notifications get removed    // automatically onclick and on page navigation, but we need to remove    // them ourselves in the case of reload, or they stack up.    for (var i = 0, child; child = notificationBox.childNodes[i]; i++) {      if (child.getAttribute("value") == "install-userscript") {	notificationBox.removeNotification(child);      }    }    var notification = notificationBox.appendNotification(      greeting,      "install-userscript",      "chrome://greasemonkey/content/status_on.gif",      notificationBox.PRIORITY_WARNING_MEDIUM,      [{ label: this.bundle.getString('greeting.btn'),	 accessKey: "I",	 popup: null,	 callback: GM_hitch(this, "installCurrentScript") }]);  }};
meta: 4236	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4236/c1205de4bbe1261b13603cbb8371edf75e9a60b6/browser.js/buggy/src/chrome/chromeFiles/content/browser.js