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

搜尋 Mozilla 技術支援網站

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

了解更多

Allow to highlight text that is URL for example header

  • 4 回覆
  • 1 有這個問題
  • 47 次檢視
  • 最近回覆由 akjanik

more options

Go for example to: https://support.mozilla.org/en-US/ You can click "Get community support" or "index" links, but you can't hold left mouse button and highlight the text, so you can for example copy or search phrase. I'd like to do that.

Go for example to: https://support.mozilla.org/en-US/ You can click "Get community support" or "index" links, but you can't hold left mouse button and highlight the text, so you can for example copy or search phrase. I'd like to do that.

被選擇的解決方法

On Linux I can hold the right Alt key and drag the mouse over a live link to select part of the link. I don't know if there is something similar on Windows. If Alt doesn't work then try to press and hold the mouse key just below the link and then move it up to select part of the link.


Bug 378775 - implement Opera's behavior for selecting text inside of a link and link drag and drop

從原來的回覆中察看解決方案 👍 2

所有回覆 (4)

more options

Hi akjanik, for using the context search, Firefox will search for the text of the link when you right-click it and select Search Google for [text].

But if you wanted to be able to copy the link text, it's not so easy. The links in the header bar on this site are a bit extreme in that they have something like quarter inch of active link area on each side. You have to move the mouse further and further until the "pointer" turns back into and arrow before you can start selecting.

If the mouse doesn't work, a cumbersome keyboard method is as follows:

  • double-click some text above or to the left of the link you want to select
  • press the Tab key to select the link (you may need to press a few times if there are links or form fields in between)
  • when the dotted outline appears around the link, use keyboard selection to select the wording (for example, hold down Shift and press the right arrow repeatedly, or Ctrl+right arrow to select the whole word)

In this case, because there's no plain text above or to the left of the first part of the header bar, you have to do it backwards:

  • double-click some text below or to the right of the link you want to select
  • press the Shift+Tab key to jump backwards and select the link (you may need to press a few times if there are links or form fields in between)
  • when the dotted outline appears around the link, use keyboard selection to select the wording (for example, hold down Shift and press the right arrow repeatedly, or Ctrl+right arrow to select the whole word)

Maybe there's an add-on for this?

more options

選擇的解決方法

On Linux I can hold the right Alt key and drag the mouse over a live link to select part of the link. I don't know if there is something similar on Windows. If Alt doesn't work then try to press and hold the mouse key just below the link and then move it up to select part of the link.


Bug 378775 - implement Opera's behavior for selecting text inside of a link and link drag and drop

由 cor-el 於 修改

more options

cor-el said

On Linux I can hold the right Alt key and drag the mouse over a live link to select part of the link. I don't know if there is something similar on Windows.

Why yes there is! Very useful.

It seems safe for regular links. If the link has a script handler attached, it may fire unless I keep move the mouse pointer until it turns back into an arrow before lifting my finger. (For example, "Common responses" above this box I'm typing in right now.)

more options

Solution by @cor-el works, thank you! Quick note: I am linux user too, and I use XFCE. Here, you need to first change the following: "Window Manager Tweaks" -> "Accessibility" -> "Key used to gram and move windows" to something different, as Alt key is default one. Other way is to remap Firefox keys, but it's not my case, Alt for this is fine for me.