How to give a link in my web page on clicking which the home page of the browser will be set as my web page?
26.May, 2010
I want to give a link in my web page to give the users an option to make it their home page just by clicking the link. How to do it? Thanx in advance.
It’s very simple Just copy and paste this code in your webpage
<a href="#" onClick="this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://yahoo.com’);">Click here to make this webpage , Your Homepage</a>
Replace http://yahoo.com with your homepage address.
27.May, 2010 um 1:39 am
It’s very simple Just copy and paste this code in your webpage
<a href="#" onClick="this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://yahoo.com’);">Click here to make this webpage , Your Homepage</a>
Replace http://yahoo.com with your homepage address.
References :