I was wondering whether it is possible to redirect a user to their homepage. By homepage I mean the URL defined in their browser as homepage. The one they get to when they click the 'Home' button of the browser.
I know that Internet Explorer uses <a href="about:home" title"Go to your homepage">Homepage</a>
but I have no idea what other browsers use for this!
Is this possible?
I dont know if you are looking for something like this discussed in this thread:
Sending user to their browser's Home Page using Javascript
Just make a link to go back where the user came from:
<a href="#" onClick="history.go(-1);return true;">Back</a>
Or a similar button
<button type="button" onClick="history.go(-1): return true:">I do not agree</button>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With