Dodanki za Firefox Browser
  • Rozšyrjenja
  • Drastwy
    • za Firefox
    • Słowniki a rěcne pakśiki
    • Druge sedła wobglědowaka
    • Dodanki za Android
Pśizjawiś
Pśeglěd za CodeMirror PRIMARY Bridge

CodeMirror PRIMARY Bridge wót Nicolas Hainaux

Restores middle-click paste from CodeMirror editors (GitHub Gist, codemirror.net…) on Linux/BSD by forwarding selections to the X11/Wayland PRIMARY buffer. Per-domain allowlist, off by default. Requires a companion native helper.

5 (1 pógódnośenje)5 (1 pógódnośenje)
3 wužywarje3 wužywarje
Firefox ześěgnuś a rozšyrjenje wobstaraś
Dataju ześěgnuś

Metadaty rozšyrjenja

Wó toś tom rozšyrjenju
On Linux/BSD, CodeMirror-based editors (GitHub Gist, codemirror.net, and others) don't propagate text selections to the X11/Wayland PRIMARY buffer. The result: middle-click paste from those editors silently does nothing. This extension restores that workflow.


A content script watches the selection inside CodeMirror editors on allowlisted sites. When the selection changes, it sends the text to a small Python "native messaging host" running outside the browser, which
writes it to PRIMARY via xsel, xclip, or wl-copy.
  1. The extension itself (this page).
  2. A small Python helper, installed separately by running install.sh from the source tree. WebExtension APIs cannot reach clipboard tools directly — the helper is required and AMO cannot install it for you.

Full instructions, including the source repository, are at https://gitlab.com/nicolas.hainaux/cm_primary.


Off everywhere by default. The extension only forwards selections on hostnames you explicitly add to the allowlist in the options page — no allowlist entry, no message to the helper, no write to PRIMARY.

This mirrors the conservative choice Firefox made after CVE-2023-6208, which was patched by dropping all JavaScript-driven PRIMARY updates. This extension reopens that path only on sites you've explicitly trusted.


No telemetry, no analytics, no remote servers. Selections are only forwarded to your local PRIMARY buffer.


Linux X11 (tested with xsel). BSD and Wayland support is implemented but untested — feedback welcome.
Z 5 wót 1 pógódnośujucego pógódnośony
Pśizjawśo se, aby toś to rozšyrjenje pógódnośił
Hyšći pógódnośenja njejsu

Gwězdowe pógódnośenje jo se składło

5
1
4
0
3
0
2
0
1
0
1 pógódnośenje cytaś
Pšawa a daty

Trjebne pšawa:

  • Powěsći z drugimi programami ako Firefox wuměniś
  • Pśistup k wašym datam za wšykne websedła měś

Opcionalne pšawa:

  • Pśistup k wašym datam za wšykne websedła měś

Gromaźenje datow:

  • Wuwijaŕ groni, až toś to rozšyrjenje gromaźenje datow njetrjeba.
Dalšne informacije
Dalšne informacije
Dodankowe wótzkaze
  • Sedło pomocy
  • E-mailowa adresa pomocy
  • ID dodanka kopěrowaś
Wersija
1.0.0
Wjelikosć
18,5 KB
Slědny raz zaktualizěrowany
ien moanne lyn (4 jun. 2026)
Pśiswójźbne kategorije
  • Webwuwiśe
Licenca
Licenca MIT
Wersijowa historija
  • Wšykne wersije pokazaś
Zběrce pśidaś
Toś ten dodank k wěsći daś
K startowemu bokoju Mozilla

Dodanki

  • Wó nas
  • Blog dodankow Firefox
  • Źěłowa kupka rozšyrjenjow
  • Wuwijaŕski rožk
  • Wuwijaŕske pšawidła
  • Blog zgromaźeństwa
  • Forum
  • Programowu zmólku k wěsći daś
  • Směrnica za pógódnośenja

Ześěgnuś

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Nejnowše wersije

  • Nightly
  • Beta

Firefox za pśedewześa

  • Enterprise

Zgromaźeństwo

  • Connect
  • Contribute
  • Developer

Slědowaś

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Priwatnosć
  • Cookieje
  • Pšawniske

Jolic nic hynac zapisane, se wopśimjeśe na toś tom sedle pód Creative Commons Attribution Share-Alike License v3.0 abo póznjejšeju wersiju licencěrujo.