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开发者_Python百科 a confirmation prompt.
Is possible to setHomePage
without showing the prompt?
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.
精彩评论