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! 🎁

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Is there any easier way to set as homepage

  • 2 odpovědi
  • 3 mají tento problém
  • 4 zobrazení
  • Poslední odpověď od 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?

Upravil uživatel itsmysearch dne

Všechny odpovědi (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