Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        



Logo

Copy Guard


A simple browser extension that warns you when your copy action was hijacked.




Chrome Web Store
Mozilla Add-on
Edge Add-on


Copy Guard demo

## 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:

Chrome Web Store
Mozilla Add-on
Edge Add-on

## 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.