Copy This Block

Copy This Block

Copy selected blocks to the clipboard.

Copy This Block promo image
What is Copy This Block?

Copy This Block is a Firefox add-on that enables you to copy tables, sample codes, paragraphs, list items, and other block-like structures from web pages to the clipboard in an appropriate format. It removes unnecessary elements, formats tables in CSV, and allows easy pasting into spreadsheets, editors, and word processors.

Merlin
Stats
Stats date:
By: uenoB
Users: 56 ▲ 1
Rating: 5.00 (1)
Version: 0.9.2 (Last updated: 2018-11-24)
Creation date: 2018-11-23
Weekly download count: NaN
Firefox on Android: No
Manifest version: 2
Permissions:
  • activeTab
  • contextMenus
  • clipboardWrite
Size: 13.33K
Risk impact: Low risk impact
Risk likelihood: Low risk likelihood

Other platforms

Not available on Chrome
Not available on Edge
Merlin
Summary

This allows you to copy tables, sample codes, paragraphs, list items, and other block-like structures from a web page to the clipboard in an appropriate format without accurate cursor operation.

To copy a block,

  1. Select a part (even just one character) of the block, and
  2. click "Copy This Block" in the context menu.

It then extends the selection range to the nearest block boundary and copies all the contents of the selected block to the clipboard in both the plain text and HTML format.

Before sending data to the clipboard, it removes unnecessary whitespaces, DIVs, SPANs, and empty elements from the contents, and formats tables in the CSV format. Hence, without any additional edit, you can paste tables to a spreadsheet, sample codes to an editor, and document fragments to a word processor.

Usage Notes

  • When you attempt to copy the contents of a frame, it requests you an additional permission to access data in the frame. The permission is removed as soon as the copying is complete.
  • If sufficient permission is not granted, such as the case in which you use the extension in a restricted page or you did not grant a requested permission, it falls back to the normal copy command.
  • The keyboard shortcut Alt+Shift+C is available. It works for most cases, but it does not work in a frame, and It cannot fall back to the normal copy command if it fails. In such a case, use the context menu instead of the keyboard shortcut.
  • In the case when the blocks are nested and you would like to copy the outer one, select an unnested part or a range across the inner block boundary so that the extension goes to the outer block boundary.
User reviews
Well thought-out extension - formatting tables to CSV is very useful.
View all user reviews
Safety
Risk impact

Copy This Block is relatively safe to use as it requires very minimum permissions.

Risk likelihood

Copy This Block has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details
Screenshots