Is it possible to hide the link bar displayed in the bottom corner of browsers?

Asked

Viewed 1,826 times

0

I would like to know if there is any way to hide the link bar displayed in the bottom left (or right depending on the position of the link) of the browser. It is possible?

<a href="http://www.google.com">Google</a>

Sample image:

  • 2

    You can’t do this.

  • 1

    @qmechanik is possible yes to do this. The very Stack Overflow uses this in the welcome "banner". If you hover over any of the icons in the section Veja como funciona on the banner of Help center, you will see that this link bar does not appear. You can also see an example of this in my answer below.

  • 1

    @Chun Good answer to you. I interpreted the question in order to disable the browser feature, I think this should not be possible as mentioned by Victor Stafusa for security reasons.

  • Hello! You can hide yes! Read the answer: http://allinworld99.blogspot.pt/2015/02/hide-url-hover-over-link-hide-link-from.html Test and it works!

2 answers

2

This cannot be done only using pure HTML, but it can be done using Javascript as follows:

<span id="anchorID" >Ir para a página</span>
$("#anchorID").click(function() {
    window.open(
    'http://www.google.com',
    '_blank' // <- Isto faz o link ser aberto numa nova janela.
    );
});
#anchorID{cursor:pointer;}

Here’s an online jsFiddle example - http://jsfiddle.net/fummw6wp/1

2

This link bar exists as a security feature and has been invented to mitigate problems arising from phishing. If it could be hidden or disabled, then all websites that promote phishing would deactivate it, and as a result such an appeal would lose the sense of existence. For this reason, this bar has been designed so that it cannot be removed or deactivated, so there is no way to hide it.

  • 1

    I think this information is wrong because I believe it refers to the status bar of the browser. It is possible to hide yes the status bar.

  • I wouldn’t say it’s wrong, in modern browsers a tag a with the attribute href will always display the address, usually at the bottom left corner of the page, when you put the mouse on top of it. Not to appear only using some other tag or not using the attribute href, but it would be necessary to use javascript for this, which makes this not very practical.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.