Created
July 8, 2025 20:24
-
-
Save h43z/67a7f05b3987113b2862a06567b79904 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// tagClipboardWrites.js | |
// monkeypatch clipboard.writeText to include a prefix | |
(function() { | |
const originalWriteText = navigator.clipboard.writeText.bind(navigator.clipboard); | |
navigator.clipboard.writeText = async function(text) { | |
return originalWriteText(`@remove@${text}`); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment