This is a bit more friendly - just adds to bookmark .... dont like setting homepages myself cos it pisses em off.
Heres off my
http://ukescort.kwikfire.com/index.html - it means the user has to click but its easily modded to an inline call. If the browser not supported tells em to press control D. One of the nice things about this is that the bookmark does not have to be for the site they are on or page.
<script language="JavaScript">
browser = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
function bookmark()
{
window.external.AddFavorite('http://ukescort.servik.com/','UK Escorts');
}
if (browser) {
document.write('<a href="#" onClick="exit=false; bookmark()"><font face="verdana,arial,helvetica,san-serif" size="1" color="#ffffff">Click To Bookmark</font></a></center>')
}
else {
document.write('<font face="verdana,arial,helvetica,san-serif" size="1" color="#ffffff">Press [CTRL-D] To Bookmark This site</font>')
}
</script>
BTW remember to change URL to your site else they will be visiting me instead...lol