使用GWT更改悬停时的浏览器URL信息 [英] Change browser URL information on hover with GWT

查看:91
本文介绍了使用GWT更改悬停时的浏览器URL信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想隐藏我的GWT应用程序中的URL信息。当用户将鼠标悬停在链接上时,浏览器底部的工具栏将显示该位置。在我看来,这是一个安全风险,我想用一些无害的文本来覆盖这些信息。

I would like to hide the information of a URL within my GWT application. When a user mouses over a link the toolbar at the bottom of the browser displays the location. In my opinion this is a security risk, I would like to override that information with some innocuous text.

这似乎是非常简单的事情,但我找不到任何东西!

This seems like something pretty straight forward, but I cannot find anything!

推荐答案

如果它是href链接,默认情况下浏览器显示底部的位置。为了解决这个问题,你可以使用一些其他的Widget,如标签或菜单项等,并编写你自己的onClick监听器,它只需要到你希望用户去的页面。

If it is a href link, by default the browser shows the location at the bottom. To work around this, you can use some other Widget like label or menu item etc and write your own onClick listener, which would just take to the page you wanted the user to go.

这篇关于使用GWT更改悬停时的浏览器URL信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆