We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

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

详细了解

Is there a faster way to copy unselectable text

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

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)

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