Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roedesh/copyguard
A simple browser extension that warns you when your copy action was hijacked.
https://github.com/roedesh/copyguard
browser-extension chrome-extension copy-paste edge-extension firefox-addon
Last synced: 7 days ago
JSON representation
A simple browser extension that warns you when your copy action was hijacked.
- Host: GitHub
- URL: https://github.com/roedesh/copyguard
- Owner: roedesh
- License: mit
- Created: 2020-12-06T20:57:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T23:40:53.000Z (17 days ago)
- Last Synced: 2024-10-25T06:50:36.778Z (14 days ago)
- Topics: browser-extension, chrome-extension, copy-paste, edge-extension, firefox-addon
- Language: TypeScript
- Homepage:
- Size: 2.3 MB
- Stars: 116
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://ruud.je/blog/always-double-check-what-you-copy-from-websites/)**
This extension warns you whenever your copy action was hijacked. When you select text and copy it, this extension will check if your clipboard data was altered by Javascript, or if your text selection contains hidden elements. If either one is the case, 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
- [x] Export list of website that altered your clipboard## Building
1. Clone repo
2. `bun install`
3. `bun run dev` to run the dev task in watch mode
4. `bun run build` to build a production (minified) version## Testing in Chrome
1. Complete the steps to build the project above
2. Go to [_chrome://extensions_](chrome://extensions) in Google Chrome or [_brave://extensions_](brave://extensions) in Brave.
3. With the developer mode checkbox ticked, click **Load unpacked extension...** and select the _dist_ folder from this repo## Testing in Firefox
1. Complete the steps to build the project above
2. Run `bun run start:firefox` and a Firefox window will open with the extension installed.