Is there any easier way to set as homepage
Is there an easy way to ask our users to set my website http://www.itsmysearch.com (or any other page on that website) as Homepage.
I mean, currently i ask users to 'drag the link' on their homepage icon. But isn't there a way so that, they just click on a link, and set the page as thr homepage?
Ændret af itsmysearch den
Alle svar (2)
Yes, take a look at this JS code:
function bookmark(){ var title = 'Title of Bookmark'; var url = 'http://yourdomain.com'; if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") else if (window.sidebar&&window.sidebar.addPanel) window.sidebar.addPanel(title,url,"");
}
And call it like:
<a href="javascript:bookmark()">Bookmark this site</a>
I'm experimenting with it on my fashion inspiration site and it seems to be working well.
Have that page, and only that page showing in Firefox, and go to:
Tools > Options > General = hit the Use Current Pages button, under Homepage: .
http://support.mozilla.com/en-US/kb/How+to+set+the+home+page