Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜尋 Mozilla 技術支援網站

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

了解更多

Is there a faster way to copy unselectable text

  • 1 回覆
  • 1 有這個問題
  • 17 次檢視
  • 最近回覆由 cor-el

more options

I want to copy any of the text displayed on a page.

When the text is selectable, I can use any method to copy the text to the clipboard. From there I can paste it to another document.

When the text is not selectable, I use this procedure:

  1. Position the mouse pointer over the (unselectable) text.
  2. Open the page context menu and select 'Inspect Element'.
  3. (Now on the inspector tab).
  4. While necessary (rarely), expand the HTML using the '...' placeholders.
  5. Highlight the element containing the text of interest.
  6. Open the inspector context menu, and select 'Copy' -> 'Inner HTML'.

In most cases, it is not necessary to use the '...' placeholder, as using it will just display the interesting text. When it is necessary to drill down into the first element's children, the page has a distinctly different appearance from the other case.

I would like to speed up this process, so coping unselectable text is as fast as copying selectable text, most of the time.

If the element I point at (and would inspect as described above) has no child elements, I would like to have something like 'Copy Inner HTML' appear in the page contect menu.

  • Is there a way to do this, that I have not discovered yet?
  • Can this be done by modifying the browsers CSS?
  • Does this need an Add-on?
  • Does such an Add-on exist?

TIA Doug

I want to copy any of the text displayed on a page. When the text is selectable, I can use any method to copy the text to the clipboard. From there I can paste it to another document. When the text is not selectable, I use this procedure: # Position the mouse pointer over the (unselectable) text. # Open the page context menu and select 'Inspect Element'. # (Now on the inspector tab). # While necessary (rarely), expand the HTML using the '...' placeholders. # Highlight the element containing the text of interest. # Open the inspector context menu, and select 'Copy' -> 'Inner HTML'. In most cases, it is not necessary to use the '...' placeholder, as using it will just display the interesting text. When it is necessary to drill down into the first element's children, the page has a distinctly different appearance from the other case. I would like to speed up this process, so coping unselectable text is as fast as copying selectable text, most of the time. If the element I point at (and would inspect as described above) has no child elements, I would like to have something like 'Copy Inner HTML' appear in the page contect menu. * Is there a way to do this, that I have not discovered yet? * Can this be done by modifying the browsers CSS? * Does this need an Add-on? * Does such an Add-on exist? TIA Doug

所有回覆 (1)

more options

Can you give an example of a page with unselectable text ?