CustomizeSettings method

Not supported. Saves the user settings from a "first run" page.

Syntax


HRESULT retVal = object.CustomizeSettings(fSQM, fPhishing, bstrLocale);

Parameters

fSQM [in]

Type: VARIANT_BOOL

VARIANT_BOOL that specifies VARIANT_TRUE to enable SQM, or VARIANT_FALSE to opt out.

fPhishing [in]

Type: VARIANT_BOOL

VARIANT_BOOL that specifies VARIANT_TRUE to turn on Phishing Filter, or VARIANT_FALSE to turn it off.

bstrLocale [in]

Type: BSTR

BSTR that specifies the default region and language setting for the browser.

Remarks

CustomizeSettings was introduced in Windows Internet Explorer 7.

This method can only be called from a "first run" page in the correct domain.

Examples

The following script disables both SQM and Phishing Filter, and sets the default language to US English.


window.external.CustomizeSettings(false,false,'en-US');

See also

window
external
Reference
PhishingEnabled
SqmEnabled

 

 

Show: