為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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;
}