Jump to content

Set as Homepage with other browsers aswell as I.E


c-o-d-e

Recommended Posts

I have a set as homepage link, and it looks like this.

<a href="javascript:history.go(0);" style="float:right" 
onclick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.developers-community.com');">Set as Homepage</a>

 

This only works on Internet Explorer, how can I make this more advanced to work with all if not most browsers?

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.