If someone access my website via this kind of url: "www.xxx.com/#somehash", I want the page top open as "www.xxx.com"
for that, I use this script on document ready:
location.hash="";
It almost works as it open the website as "www.xxx.com/#"
But I just can't get rid of the final "/#"
What can I do?
Thanks.
EDIT: I don't want to refresh the page or use any HTML5 exclusive script, just find a script that does the same as the one above but without the hash termination.