Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

تلاش سپورٹ

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.

مزید سیکھیں

Is there any easier way to set as homepage

  • 2 جواب دیں
  • 3 میں یہ مسئلہ ہے
  • 4 دیکھیں
  • آخری جواب بذریعہ the-edmeister

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?

itsmysearch کی جانب سے میں ترمیمکی گئ

تمام جوابات (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