Possible Duplicate:
How can I set default homepage in FF and Chrome via javascript?
I have to set my web page as homepage in Firefox using JavaScript. I used an script:
onclick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.example.com.html');"
It works in Internet Explorer but not in Firefox. Any suggestions?
I don't think it is possible to set a users homepage with Javascript, due to some obvious security reasons.
精彩评论