跳到主要内容
Copy This Block

Copy This Block EN

uenoB · Firefox

Copy selected blocks to the clipboard.

5.0/5 1 人评分 37用户 v0.9.3resigned1当前版本
权限提示 该扩展申请访问所有网站(<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。

截图

  • Copy This Block 截图
  • Copy This Block 截图
  • Copy This Block 截图

简介

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.

Copy This Block 是做什么的

Copy This Block 是一款面向 Firefox 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:Copy selected blocks to the clipboard.在Firefox 附加组件商店(AMO)上,它当前版本 0.9.3resigned1,评分 5(1 人评价),约 37 名用户。

适合什么人用

从功能定位看,Copy This Block 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。

怎么安装 Copy This Block

  1. 打开Firefox 附加组件商店(AMO)上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

Copy This Block 是免费的吗?

Copy This Block 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

Copy This Block 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

Copy This Block 支持哪些浏览器?

当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 Copy This Block?

在扩展管理页找到 Copy This Block,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

站点访问(可选) 1

  • <all_urls>

接口权限 3

  • activeTab
  • clipboardWrite
  • contextMenus