add:  const prefName = "browser.safebrowsing.provider." + providerNum + ".privacy.optedIn"; var pref = document.createElement("preference"); pref.setAttribute("type", "bool"); pref.id = prefName; pref.setAttribute("name", prefName); document.getElementById("securityPreferences").appendChild(pref); 
context:   _userAgreedToPhishingEULA: function ()  {    // XXX this is hackish, and there's no nice URL support -- window with    //     HTML file provided by anti-phishing provider later?    // XXX cache the EULAs to which the user has agreed so switching from    //     "foo"->"bar" shows the EULA, but then a "bar"->"foo" check    //     doesn't display the EULA again    const Cc = Components.classes, Ci = Components.interfaces;    const IPS = Ci.nsIPromptService;    var ips = Cc["@mozilla.org/embedcomp/prompt-service;1"]                .getService(IPS);    var bundle = document.getElementById("bundlePreferences");    var btnPressed = ips.confirmEx(window,                                   bundle.getString("phishEULATitle"),                                   bundle.getString("phishEULAText"),                                   IPS.BUTTON_POS_0 * IPS.BUTTON_TITLE_IS_STRING +                                     IPS.BUTTON_POS_1 * IPS.BUTTON_TITLE_IS_STRING,                                   bundle.getString("phishEULAOK"),                                   bundle.getString("phishEULACancel"),                                   "",                                   "", {});    return (btnPressed == 0);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/de28136005ff2d851517680427b69c6f11159bb7/security.js/buggy/browser/components/preferences/security.js