# copy-on-mouse-select

> On mouseup, send document.getSelection() to navigator.clipboard. It is only a 4 lines content\_script!

Canonical page: [https://chrome-stats.com/d/copy-on-mouse-select](https://chrome-stats.com/d/copy-on-mouse-select)

## Overview

- **ID:** `copy-on-mouse-select`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Pascal Rigaux
- **Category:** other
- **Daily users:** 2
- **Rating:** 5.00 / 5 (1 ratings)
- **Version:** 1.0.0
- **Last updated:** 2025-01-27
- **First published:** 2025-01-27
- **Size:** 8.39 KB
- **Data as of:** 2026-09-14
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/copy-on-mouse-select/)
- **Website:** [https://github.com/prigaux/firefox-copy-on-select](https://github.com/prigaux/firefox-copy-on-select)

## Description

On Linux (both Xorg and Wayland), selecting text with mouse or keyboard sends the selected text to PRIMARY selection.

This addon sends mouse selected text to regular clipboard:

&gt; on mouseup, send document.getSelection() to navigator.clipboard.

It is only a 4 lines content_script!

* after install of module, you must reload any existing pages before selecting. Otherwise it will NOT work.
* do not test it on <a href="https://addons.mozilla.org/" rel="nofollow">https://addons.mozilla.org/</a>, it will not work

NB: this is mostly <a href="https://addons.mozilla.org/fr/firefox/addon/copy-on-select/" rel="nofollow">https://addons.mozilla.org/fr/firefox/addon/copy-on-select/</a> with a github a link to see the source code!

NB: it does the same thing as VSCode <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/d0397674a7c095529c236af01cd2f6627cd8d6c400645213c543e10596a3920a/https%3A//marketplace.visualstudio.com/items%3FitemName=dinhani.copy-on-select" rel="nofollow">https://marketplace.visualstudio.com/items?itemName=dinhani.copy-on-select</a>

## Rankings

- #61,126 — Overall
- #149 — mouse

## Permissions and access

### Permissions

- `http://*/*`
- `https://*/*`

### Content script matches

- `*`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** Low risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Copy On Select 2](https://chrome-stats.com/d/copy-on-select-2) — 315 users, 4.91 / 5
- [Copy on Select Quick Button](https://chrome-stats.com/d/copy-on-select-quick-button) — 12 users, 5.00 / 5
- [CodeMirror PRIMARY Bridge](https://chrome-stats.com/d/codemirror-primary-bridge) — 9 users, 5.00 / 5
- [Copy on Select](https://chrome-stats.com/d/auto-copy-on-select) — 112 users, 5.00 / 5
- [AutoCopy](https://chrome-stats.com/d/autocopy-we) — 1,958 users, 3.72 / 5
- [Ctrl + Shift + C Should Copy](https://chrome-stats.com/d/ctrl-shift-c-should-copy) — 425 users, 5.00 / 5
- [Selection-Clip](https://chrome-stats.com/d/selection-clip) — 1 users, 5.00 / 5
- [Copy On Select](https://chrome-stats.com/d/copy-on-select) — 1,427 users, 3.82 / 5
- [Add To Clipboard](https://chrome-stats.com/d/add-to-clipboard) — 1 users
- [Copy Document](https://chrome-stats.com/d/copy-document) — 1 users
- [StackExchange Copy to Clipboard](https://chrome-stats.com/d/stackexchangecopytoclipboard) — 3 users, 5.00 / 5
- [Text Grabber](https://chrome-stats.com/d/text-grabber) — 122 users, 3.00 / 5

---

Source: [Chrome-Stats](https://chrome-stats.com/d/copy-on-mouse-select)
