EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

InPrivateFilteringEnabled method

Detects whether the user has enabled InPrivate Filtering.

Internet Explorer 8

 

Syntax

object.InPrivateFilteringEnabled(pfEnabled)

Parameters

pfEnabled [out, retval]

Type: Boolean

Returns true if the user has enabled InPrivate Filtering; false otherwise.

Return value

Type: Boolean

Returns true if the user has enabled InPrivate Filtering; false otherwise.

Standards information

There are no standards that apply here.

Examples

The following example detects whether InPrivate Filtering is enabled. Publishers and Web sites can use this approach to customize their experience for customers who browse with InPrivate Filtering.


<script type="text/javascript">
if (window.external.InPrivateFilteringEnabled() == true)
{
    document.write("The user has InPrivate Filtering enabled.");
}
else
{
    document.write("The user has InPrivate Filtering disabled.");
}
</script> 

See also

external
window
IEIsInPrivateBrowsing

 

 

표시:
© 2014 Microsoft