为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Disable hovertext/tooltips (e.g., image title attributes) when hovering over images

more options

I would like to disable hovertext that is displayed when hovering the mouse cursor over an image that has TITLE attributes. I have tried about:config browser.chrome.toolbar_tips;false but that did not change anything, image title attributes are still displayed when hovering over an image (e.g., XKCD). I also tried browser.overlink-delay;50000 which did affect links on the bottom lefthand corner of websites, but that still didn't specifically target image title attributes from displayed when being hovered over by the cursor.

I would like to disable hovertext that is displayed when hovering the mouse cursor over an image that has TITLE attributes. I have tried about:config browser.chrome.toolbar_tips;false but that did not change anything, image title attributes are still displayed when hovering over an image (e.g., XKCD). I also tried browser.overlink-delay;50000 which did affect links on the bottom lefthand corner of websites, but that still didn't specifically target image title attributes from displayed when being hovered over by the cursor.
已附加屏幕截图

被采纳的解决方案

bk_accounts said

Well this is somewhat a problem because when I have multiple tabs open this hovertext will sometimes be displayed when I have a different tab open.

Oh, THAT! Yes, it's a bug in Firefox 68.

The tooltips linger when you change tabs or windows before they fade out bug was tracked down and squashed (#1550637). However, the initial fix needed to be fixed, so it didn't get into the most recent update (68.0.2). The fix will be in Firefox 69.0, due out September 3rd.

If you can't wait:

You could consider using Firefox 69 in its pre-release form as the "beta" or "developer" edition of Firefox. You can read more about them here: https://www.mozilla.org/firefox/channel/desktop/

Please make a backup of your profiles before changing "channels": Back up and restore information in Firefox profiles.

定位到答案原位置 👍 0

所有回复 (5)

more options

Hi bk_accounts, I don't think there is a preference NOT to show title text in a tooltip. This preference --

browser.chrome.toolbar_tips

-- is for the user interface area ("chrome") and not for web pages ("content").

Perhaps you could find an add-on or userscript that would rummage through selected pages (or pages from selected sites) removing the title attributes from images and links and buttons (or whatever you like).

more options

Well this is somewhat a problem because when I have multiple tabs open this hovertext will sometimes be displayed when I have a different tab open.

E.g., let's say I have an image with hovertext open in tab 1, sometimes when I am in tab 2 the hovertext will be displayed and will only disappear if I go back to tab 1 and move the mouse.

It's really weird because sometimes I don't know why the hovertext is displayed from tab 1, sometimes it will just randomly appear even though I am in tab 2.

more options

选择的解决方案

bk_accounts said

Well this is somewhat a problem because when I have multiple tabs open this hovertext will sometimes be displayed when I have a different tab open.

Oh, THAT! Yes, it's a bug in Firefox 68.

The tooltips linger when you change tabs or windows before they fade out bug was tracked down and squashed (#1550637). However, the initial fix needed to be fixed, so it didn't get into the most recent update (68.0.2). The fix will be in Firefox 69.0, due out September 3rd.

If you can't wait:

You could consider using Firefox 69 in its pre-release form as the "beta" or "developer" edition of Firefox. You can read more about them here: https://www.mozilla.org/firefox/channel/desktop/

Please make a backup of your profiles before changing "channels": Back up and restore information in Firefox profiles.

more options

Thanks jscher2000, I also found another temporary fix to last me until then. Funny enough, you actually responded on this support question too.

https://support.mozilla.org/de/questions/1192749

more options

Hi bk_accounts, you actually can simplify that rule to:

tooltip {
  visibility: collapse !important;
}