搜索 | 用户支持

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

Learn More

Is there a faster way to copy unselectable text

  • 1 个回答
  • 1 人有此问题
  • 14 次查看
  • 最后回复者为 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 ?