how to create a make our site your homepage button

  • 1
  • Question
  • Updated 10 years ago
  • Answered
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes

Posted 10 years ago

  • 1
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Shaq,

You can use this code to achieve this. Unfortunately this only works in IE

<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');">
</FORM>

Change the text indicated to your web address beginning with http://

Maybe someone who has code that will work in other browser's jump in.
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Sorry Shaq. Removed
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
Apology accept. :) :)
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
i'm almost sure there is no code which works on FF.

I don't like the idea of adding a home page request button, it seems a little desperate to me, plus you would at least have to add a google search or similar, think to your self, what benefit does a user have from starting the daily journey of the web from my site? if you can not think of a good answer its not a 'home page'
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
Lee. lol look at my site than your questions are answered
http://www.tunnel-search.synthasite.com
Photo of SGTG

SGTG

  • 51 Posts
  • 0 Reply Likes
hey shaq, how u been?
cool site.... whats it 4?
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
lol. SGTG.

Its a search engine. I have been working on it for awhile. Now i am just updating it due to some bugs, the problem is you can't copy and paste so long process.
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
How can i edit a code so when someone enters using Firefox, so FireFox users can't see it
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Shaq - I'm sorry but I don't understand your question. Can you please rephrase it or give us more info.
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
As the code you have given me does not work with FF can i stop people that are using FF to not see it.

Example
You can see on googles homepage add google as your homepage in IE, but if you are using FF its not there