0

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?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Jay
  • 1

1 Answers1

0

I don't think it is possible to set a users homepage with Javascript, due to some obvious security reasons.

Ferdi
  • 31
  • 4