views:

22

answers:

1

Hi.

I'm using this script to set my site has home page on IE (I know it is not possible on FF and CH):

if (document.all) { 
  document.body.style.behavior='url(#default#homepage)'; 
  document.body.setHomePage('myurl'); 
}  

But this function shows always a confirmation prompt.

Is possible to setHomePage without showing the prompt?

+1  A: 

No.

I personally fixed several bugs in IE6 the allowed people to abuse the homepage prompt.

It is 100% by-design that you cannot change the user's homepage without their knowledge and consent.

jeffamaphone