Enable Copy Extension 版本历史 - 3 个版本
Enable Copy Extension 作者: olevegic
Enable Copy Extension 版本历史 - 3 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 2.0.0
发布于 2025年4月13日 - 28.5 KB适用于 firefox 109.0 及更高版本Changelog
[2.0.0] - 2025-04-13
This is a major update introducing operational modes, a whitelist, and significant internal improvements.
Added
Standard Mode: The new default mode. Uses CSS overrides (user-select
,pointer-events
) and capture-phase event listeners (copy
,cut
,contextmenu
,selectstart
,mousedown
) to enable copying. Designed for broad compatibility with minimal site interference.
Force Mode:An aggressive mode for stubborn websites. Includes all Standard Mode features PLUS an override ofEventTarget.prototype.addEventListener
within the content script to block sites from adding new restrictive listeners. Warning: This mode is risky and may break website functionality.
Whitelist Functionality: Users can now disable the extension on specific domains.
Added an "Disable on this site" button to the popup for quick whitelisting.
Created a dedicated 'Options Page' for viewing, adding, and removing domains from the whitelist.
Popup UI Overhaul:
Clear button to toggle the global enabled/disabled state.
Button to switch between Standard and Force modes for the active tab.
Buttons for quick whitelisting and accessing the Options page.
Status indicators for whitelisted sites or incompatible pages.
Detailed logging for debugging purposes (primarily in development builds).
Changed
Core Logic: Reworked the internal state management and communication between background, popup, and content scripts for better reliability.
Manifest V3:Migrated the extension to Manifest Version 3.
Default Behavior: The extension now defaults to Standard Mode when enabled on a non-whitelisted page. Force Mode must be explicitly activated.
Popup Interaction: The popup now queries the background script for the authoritative state of the current tab on opening.
Fixed
State Restoration (Standard Mode): Disabling the extension (or switching modes) now attempts to properly restore original element attributes (oncopy
, etc.) and inline styles (user-select: none
) that were modified by the extension in Standard Mode.
Badge UpdatesImproved reliability of the extension icon badge updating based on the current tab's state (ON, OFF, F).
Handled edge cases related to browser-specific pages (about:
,chrome://
, etc.) where the content script shouldn't run or modify state.源代码遵循 MIT 许可证 发布
下载 Firefox 并安装扩展您需要 Firefox 来使用此扩展