rem: var changedList = ["allowWindowOpenChanged", "allowWindowMoveResizeChanged", 
add: var changedList = ["allowWindowMoveResizeChanged", 
context: function Startup(){  data = parent.hPrefWindow.wsm.dataManager.pageData["chrome://browser/content/pref/pref-scripts.xul"];  //If scriptData does not exist, then it is the first time the panel was shown and we default to false   if (!("scriptData" in data)){    var changedList = ["allowWindowOpenChanged",                       "allowWindowMoveResizeChanged",                       "allowWindowStatusChangeChanged",                       "allowWindowFlipChanged",                       "allowDocumentCookieSetChanged",                       "allowDocumentCookieGetChanged",                       "allowImageSrcChangeChanged",                       "allowHideStatusBarChanged"];    data.scriptData = [];    for(var run = 0; run < changedList.length; run++ ){      data.scriptData[ changedList[run] ] = [];      data.scriptData[ changedList[run] ].value = false;    }    document.getElementById("allowWindowOpen").checked = getPrefValueForCheckbox("dom.disable_open_during_load");    document.getElementById("allowWindowMoveResize").checked =  getPrefValueForCheckbox("dom.disable_window_move_resize");    document.getElementById("allowWindowFlip").checked = getPrefValueForCheckbox("dom.disable_window_flip");    document.getElementById("allowWindowStatusChange").checked = getPrefValueForCheckbox("dom.disable_window_status_change");    document.getElementById("allowImageSrcChange").checked = getPrefValueForCheckbox("dom.disable_image_src_set");    document.getElementById("allowDocumentCookieGet").checked = getPrefValueForCheckbox("dom.disable_cookie_get");    document.getElementById("allowDocumentCookieSet").checked = getPrefValueForCheckbox("dom.disable_cookie_set");    document.getElementById("allowHideStatusBar").checked = getPrefValueForCheckbox("dom.disable_window_open_feature.status");  }  javascriptEnabledChange(!document.getElementById("enableJavascript").checked);  document.getElementById("AllowList").addEventListener("CheckboxStateChange", onCheckboxCheck, false);  parent.hPrefWindow.registerOKCallbackFunc(doOnOk);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/64fc82bbf852fb868d15a5e8a0f31edc5d7d9a46/pref-scripts.js/clean/browser/components/prefwindow/content/pref-scripts.js