copyguard
copyguard copied to clipboard
A simple browser extension that warns you when your copy action was hijacked.
Copy Guard
A simple browser extension that warns you when your copy action was hijacked.
About
Read the blog post for more in-depth info
This extension warns you whenever your copy action was hijacked. When you select text and copy it, this extension will compare your selection with the data that was added to your clipboard. If there is a difference, a native notification will be triggered.
Available for the following browsers:
Features
- [x] Warns you when JavaScript alters your clipboard data after copying
- [x] Warns you when the selection you copied contains hidden elements
- [x] Whitelist websites
Building
- Clone repo
-
yarn
-
yarn dev
to run the dev task in watch mode -
yarn build
to build a production (minified) version
Testing in Chrome
- Complete the steps to build the project above
- Go to chrome://extensions in Google Chrome or brave://extensions in Brave.
- With the developer mode checkbox ticked, click Load unpacked extension... and select the dist folder from this repo
Testing in Firefox
- Complete the steps to build the project above
- Run
yarn start:firefox
and a Firefox window will open with the extension installed.