Set as Home page using Javascript

Chikul
Posted by Chikul under JavaScript category on | Views : 3446
This JavaScript code will put a Link on site that, when clicked on, will set web site as the Home page.

<a style="CURSOR: hand; text-decoration: underline ; color : Red" 
onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(location.href);" >Set as your Home page</a>

Comments or Responses

Login to post response