搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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?

由 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