P
pavi
Anyone know how to set the Default homepage using javascript without
prompting a pop up.
Below is the code i used to set default home page.
<a href="#"
onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://
www.xyz.com');">set the homepage</a>
The problem with this code is when i click the link it prompts me a
popup window asking "Would you like to set your Home Page to http://www.xyz.com".
I don't want the popup window to display. is their a way to avoid it
and directly set the default home page.
prompting a pop up.
Below is the code i used to set default home page.
<a href="#"
onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://
www.xyz.com');">set the homepage</a>
The problem with this code is when i click the link it prompts me a
popup window asking "Would you like to set your Home Page to http://www.xyz.com".
I don't want the popup window to display. is their a way to avoid it
and directly set the default home page.