Hello Users, I am having a search engine website and i want some tips that once user visit my site it should set my website address as homepage of the browser. So, kindly please tell me how i can do it by using toolbar or browser extension or some java coding. I have seen some webiste is set on my browser automatically as my browser homepage but don;t know what tips they use. reply
<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://yoursite.com');">click here to make yoursite your homepage</a> Code (markup): add this to body section
The user wants to do that they can use the browser to do so, WASTING code on doing it or worse, simply doing it is intentionally blocked in most browsers due to abuse, and should NOT EVER be implemented on a website due to it pissing off users and making people think your entire site is one giant scam!
It's not often that I am more brusque than ds, but … It's not your browser, it belongs to your visitor. Keep your damned hands off it.