rem: var addonsMsg = document.getElementById("addonsMsg"); addonsMsg.showMessage("chrome: getExtensionString(messageKey, [getBrandShortName()]), getExtensionString("goOnlineButtonLabel"), getExtensionString("goOnlineButtonAccesskey"), true, "addons-go-online"); 
add: showMessage("chrome: getExtensionString(messageKey, [getBrandShortName()]), getExtensionString("goOnlineButtonLabel"), getExtensionString("goOnlineButtonAccesskey"), true, "addons-go-online"); 
context: function isOffline(messageKey) {  var ioService = Components.classes["@mozilla.org/network/io-service;1"]                            .getService(nsIIOService);  if (ioService.offline) {    var addonsMsg = document.getElementById("addonsMsg");    addonsMsg.showMessage("chrome://mozapps/skin/extensions/question.png",                          getExtensionString(messageKey, [getBrandShortName()]),                          getExtensionString("goOnlineButtonLabel"),                          getExtensionString("goOnlineButtonAccesskey"),                          true, "addons-go-online");  }  return ioService.offline;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3ca8027a7ea906d639f530a9a072a205a2744b3c/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js