The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

setHomePage Method

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

Deprecated. Sets a user's home page to the specified value.




sPageURL Required. A String that specifies the path or file name of the user's home page.

Return Value

No return value.


As of Windows Internet Explorer 9, this method is deprecated and should no longer be used. In addition, this method is not supported for Metro-style apps using JavaScript.

The setHomePage method prompts the user to confirm the new home page value before setting the value on the browser.

This method requires a user-initiated action, such as clicking on a link, or tabbing to a link and pressing enter. The Pop-up Blocker feature in Microsoft Internet Explorer 6 prevents this method from executing automatically.

Applies To


See Also

Community Additions

© 2014 Microsoft. All rights reserved.