Export (0) Print
Expand All

isHomePage Method

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Deprecated. Determines whether the specified URL refers to the client's home page.

Syntax

bQueryHome = homePage.isHomePage(sPageURL)

Parameters

sPageURL Required. A String that specifies the path or file name to compare against a client's specified home page.

Return Value

A Boolean. Returns one of the following values:

true
As of Windows 8, this is the only return value.

Remarks

As of Windows 8, this method is deprecated and always returns true. In addition, this method is not supported for Metro-style apps using JavaScript.

For earlier versions of Windows, the isHomePage method returns false if the argument and a user's home page different or when the document calling the method is on a different domain from the user's home page.

Applies To

homePage

See Also

Introduction to DHTML Behaviors

Community Additions

ADD
Show:
© 2014 Microsoft