View Full Version : Can the browsers home page be determined?
AlistairH
06-07-2005, 12:04 PM
I'm familiar with the setHomePage technique to assign a url to the users home page, but is there a corresponding command that can retrieve the current setting?
I'd like to be able to check the current home page and display/not display the option to reset it if appropriate
Cheers
Alistair
mwinter
06-07-2005, 12:35 PM
is there a corresponding command that can retrieve the current [homepage] setting?That would be a violation of the user's privacy, so I would suspect not. However, IE does provide a method that complements setHomePage: isHomePage. This accepts a string that is compared against the home page URL. If they match, the method returns true.
Mike
AlistairH
06-07-2005, 02:55 PM
Thanks Mike, that will do nicely as all I want to do is hide the setHomePage link if it's already been set.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.