add:  var savedmenu = this; function undoImageBlock() { savedmenu.toggleImageBlocking(!aBlock); }  var bundle_browser = document.getElementById("bundle_browser"); var message; if (aBlock) message = bundle_browser.getString("imageWarningBlocked"); else message = bundle_browser.getString("imageWarningAllowed");  var notificationBox = gBrowser.getNotificationBox(); var notification = notificationBox.getNotificationWithValue("images-blocked");  if (notification) notification.label = message; else { var buttons = [{ label: bundle_browser.getString("undo"), accesskey: bundle_browser.getString("undo.accessKey"), callback: undoImageBlock }]; const priority = notificationBox.PRIORITY_WARNING_MEDIUM; notificationBox.appendNotification(message, "images-blocked", "chrome: priority, buttons); }   BrowserReload(); 
context:     toggleImageBlocking : function (aBlock) {      var nsIPermissionManager = Components.interfaces.nsIPermissionManager;      var permissionmanager =        Components.classes["@mozilla.org/permissionmanager;1"]                  .getService(nsIPermissionManager);      var uri = this.target.QueryInterface(Components.interfaces.nsIImageLoadingContent).currentURI;      permissionmanager.add(uri, "image",                            aBlock ? nsIPermissionManager.DENY_ACTION : nsIPermissionManager.ALLOW_ACTION);    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/ccce510651017636bfe731a3c3b8b81ca8a380ee/browser.js/clean/browser/base/content/browser.js