Does anyone knows how to make a particular website their default home page when they click the button "Make this site your homepage" using javascript. This sample code works in IE, but other browsers doesn't know this code.

this.style.behavior = 'url(#default#homepage)';
			this.setHomePage('http://localhost/getuptodate/php/getuptodate.php');

Could someone help me in figuring out on how to do this stuff on other browsers. I've research on this but still can't find good codes that do something like the code mentioned above. Others are redirecting the users to do something to make the website their home page.

Sorry Lambing, I really can't find anything other than for IE...
Will look into it some more...
Good luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.