I want to keep same url for all the pages of my site.
ex: if my site is www.abc.com & xyz.html is a page.
I want to display www.abc.com or www.abc.com/xyz instead of www.abc.com/xyz.htm
Please help me to do this.
Thank you in advance.
asked Aug 19, 2015 at 10:18
Mousing over this URL will display "void[0]" in the browser's status bar.
Code Demo:
Mousing over this URL will display “void[0]” in the browser’s status bar.
Hiding the URL in the Browser Status Bar with the Pound Symbol
Note: This technique is a little bit deceptive, and using it should be avoided.
The URL displayed in the status bar will appear to be the current URL followed by the pound [#] symbol, but when the user clicks it, they will be taken to whatever URL is specified in the JavaScript.
Mousing over this URL will display the current URL followed by a pound symbol.
Code Demo:
Mousing over this URL will display the current URL followed by a pound symbol.
The Old Techniques Using window.status
There used to be a more eloquent way to achieve this by using window.status, but most major web browsers have long disabled the ability to hide the URL in the status bar this way due to security problems.
Web developers could set the status bar text to anything they wanted at any time, but this was problematic because people could be misled into thinking that they were clicking on a link to one site but were being taken to a different site.