-3

Possible Duplicate:
How can I set default homepage in FF and Chrome via javascript?

Is there a javascript function which can prompt the user to set the current page as homepage?

I need something that works on modern browsers.

Thanks!

4

2 Answers 2

1

There is the setHomePage function that is IE specific.

See this SO thread for alternatives.

1
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');">

Not the answer you're looking for? Browse other questions tagged or ask your own question.