31 if (
"arguments" in
window &&
32 window.arguments[0] instanceof Components.interfaces.nsIDialogParamBlock &&
33 window.arguments[1] instanceof Components.interfaces.nsIObserver) {
35 var paneAddons = document.getElementById(
"paneAddons");
37 if (!paneAddons.loaded) {
41 document.documentElement.showPane(paneAddons);
46 var browserPreferences = document.getElementById(
"BrowserPreferences");
47 var selector = document.getAnonymousElementByAttribute(browserPreferences,
'anonid',
'selector');
48 selector.removeAttribute(
"orient");
49 if (getComputedStyle(selector,
"").getPropertyPriority(
"visibility") ==
"") {
51 selector.style.visibility =
"visible";
55 var browserPreferences = document.getElementById(
"BrowserPreferences");
56 var selector = document.getAnonymousElementByAttribute(browserPreferences,
'anonid',
'selector');
57 selector.removeAttribute(
"orient");
58 if (getComputedStyle(selector,
"").getPropertyPriority(
"visibility") ==
"") {
60 selector.style.visibility =
"visible";
64 var catMan =
Cc[
"@mozilla.org/categorymanager;1"]
65 .getService(
Ci.nsICategoryManager);
66 var
enum = catMan.enumerateCategory(
"cdrip-engine");
68 var radio = document.getAnonymousElementByAttribute(browserPreferences,
87 document._loadOverlay = document.loadOverlay;
88 document._overlayLoading =
false;
89 document.loadOverlay =
function(overlay,
observer) {
90 if (document._overlayLoading) {
91 throw new Error(
"HACK for Bug 13456 - Only one loadOverlay at a time!");
93 document._realLoadObserver =
observer;
94 document._overlayLoading =
true;
95 document._loadOverlay(overlay,
96 document._loadOverlayObserver);
98 document._loadOverlayObserver = {
101 if (document._realLoadObserver) {
102 document._realLoadObserver.observe();
103 document._realLoadObserver =
null;
105 document._overlayLoading =
false;
addEventListener("load", function(){removeEventListener("load", arguments.callee, false);if("arguments"in window &&window.arguments[0] instanceof Components.interfaces.nsIDialogParamBlock &&window.arguments[1] instanceof Components.interfaces.nsIObserver){var paneAddons=document.getElementById("paneAddons");if(!paneAddons.loaded){document.documentElement.showPane(paneAddons);}}var browserPreferences=document.getElementById("BrowserPreferences");var selector=document.getAnonymousElementByAttribute(browserPreferences, 'anonid', 'selector');selector.removeAttribute("orient");if(getComputedStyle(selector,"").getPropertyPriority("visibility")==""){selector.style.visibility="visible";}var browserPreferences=document.getElementById("BrowserPreferences");var selector=document.getAnonymousElementByAttribute(browserPreferences, 'anonid', 'selector');selector.removeAttribute("orient");if(getComputedStyle(selector,"").getPropertyPriority("visibility")==""){selector.style.visibility="visible";}var catMan=Cc["@mozilla.org/categorymanager;1"].getService(Ci.nsICategoryManager);var enum=catMan.enumerateCategory("cdrip-engine");if(!enum.hasMoreElements()){var radio=document.getAnonymousElementByAttribute(browserPreferences, 'pane', 'paneCDRip');radio.hidden=true;}}, false)
return!aWindow arguments!aWindow arguments[0]
SimpleArrayEnumerator prototype hasMoreElements
this removeEventListener("load", this.__SS_restore, true)
sbDeviceFirmwareAutoCheckForUpdate prototype observe