Is it possible to create a link to the browser's homepage ?

4 answers

o.k.w 2355
2
points
This was chosen as the best answer

As far as I know, this isn't possible, and could be a security hazard.

IE used to have a internal about URI scheme that does that, "about:home" which might still work in IE8.

Answered almost 7 years ago by o.k.w
  • Out of interest I tested this. In Safari and Chrome the link goes to about:blank. In IE8 and Firefox it does nothing. Thanks for your help. Chris Porter almost 7 years ago
Dave V 5
1
point

using javascript you can query the type of browser and return a hard coded link to the best guess of the browser's home page.

Answered almost 7 years ago by Dave V
1
point

I'd recommend not. Users know how to get to their browser's homepage. There's a perfectly good mechanism in place for getting there :)

Answered almost 7 years ago by Justin Hileman
BPartch 342
0
points

Not sure what you're asking. You can create an HTML link like so (replacing the domain/title with the one you want:

<a href="http:/somedomain.com/" title="A browser to surf the web with">Browser</a>

If that's not what you're asking, please give a little more detail.

Answered almost 7 years ago by BPartch
  • I mean create a link to whatever the users homepage in their browser is. I suppose it's not possible but I wanted to rule it out. Thanks for your help. Chris Porter almost 7 years ago