Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there any easier way to set as homepage

more options

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?

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?

Modified by itsmysearch

All Replies (2)

more options

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.

more options

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