Remove / move the Google Chrome bottom left status bar (link address bar)

前端 未结 3 1574
天命终不由人
天命终不由人 2021-01-02 06:56

I am working on a website which is designed with a key navigation element in the lower left corner. Within Google Chrome there is a status bar on the lower left which appear

3条回答
  •  春和景丽
    2021-01-02 07:29

    As you can see from this screenshot, it seems that Chrome moves the status bar outside the extent of the window when you roll-over a link that is on the edge (the "add comment" link in this instance).

    So... I wouldn't worry about it. It's built in browser behaviour, so it's going to be very hard to alter. Once upon a time you could use javascript to modify the content of the status bar, but the browser vendors put a stop to this for all sorts of security reasons.

    Don't be tempted down the onclick bodge. You will lose accessibility, and the html demons will haunt your every sleeping moment.

    In fact, you could think of this all as desirable behaviour: your navigation and the status are right next to each other, making it very easy for the user to make the right navigation choice (assuming your URLs are user friendly).

    Screenshot of described behaviour

    tl/dr: Don't.

提交回复
热议问题