A browser extension to detect when zero-width characters are used to fingerprint cut/copied/pasted text.
MIT License
This add-on injects JavaScript into web pages. The addons.mozilla.org
domain disallows this operation, so this add-on will not work properly when it's run on pages in the addons.mozilla.org
domain.
This extension includes:
The content script listens for cut
/copy
/paste
events in the page it's attached to and it inspect the data to look for zero-width characters that can be used to insert hidden watermarks in the copied text.
copySelection
function was in a browser event clipboardWrite
permissions would be required e.g."permissions": ["clipboardWrite"]