Scott Brady wrote:
> What is the code that allows you to read/change a browser's home page
> URL?
The IE 5+ setHomePage method [1] of the homePage behavior [2].
> If we use this code, we'll make sure the user gets
> prompted with something like, "Is it OK for us to change your
> browser's home page to <URL>?"
Prompting the user for permission is already built into the behavior.
Otherwise, it would need to be reclassified from potential annoyance to
outright security risk.
1.
http://msdn.microsoft.com/workshop/author/behaviors/reference/methods/sethom
epage.asp
2.
http://msdn.microsoft.com/workshop/author/behaviors/reference/behaviors/home
page.asp
James Aylard
evolt at pixelwright.com