Components adizionâi par Firefox
  • Estensions
  • Temis
    • par Firefox
    • Dizionaris e pachets di lenghis
    • Altris sĂŽts
    • Components adizionâi par Android
Jentre
Anteprime di CodeMirror PRIMARY Bridge

CodeMirror PRIMARY Bridge di 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.

0 (0 recensions)0 (0 recensions)
Discjame Firefox e instale la estension
Discjame il file

Metadâts de estension

Informazions su la estension
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.

How it works

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.

Two-part install
  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.

Security model

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.

Privacy

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

Supported platforms

Linux X11 (tested with xsel). BSD and Wayland support is implemented but untested — feedback welcome.
Valutât 0 di 0 recensôrs
Jentre par dâ un vôt a cheste estension
No son ancjemò valutazions

Valutazion in stelis salvade

5
0
4
0
3
0
2
0
1
0
Ancjemò nissune recension
Permès e dâts

Permès obligatoris:

  • Scambiâ messaçs cun programs diviers di Firefox
  • Acedi ai tiei dâts di ducj i sĂŽts web

Permès facoltatÎfs:

  • Acedi ai tiei dâts di ducj i sĂŽts web

Racuelte dâts:

  • Il svilupadĂ´r al declare che cheste estension no domande la racuelte di dâts.
Plui informazions
Altris informazions
Colegaments component adizionâl
  • SĂŽt di supuart
  • E-mail pal supuart
  • Copie l’ID dal component adizionâl
Version
1.0.0
Dimension
18,5 kB
Ultin inzornament
11 päivää sitten (4. kesä 2026)
Categoriis coreladis
  • Disvilup web
Licence
Licence MIT
Cronologjie versions
  • ViĂ´t dutis lis versions
Zonte ae racuelte
Segnale chest component adizionâl
Va ae pagjine principâl dal sÎt Mozilla

Components adizionâi

  • Informazions
  • Blog dai components adizionâi di Firefox
  • Laboratori estensions
  • Centri di svilup
  • Politichis pal svilupadĂ´r
  • Blog de comunitât
  • Forum
  • Segnale un erĂ´r
  • Vuide pes recensions

NavigadĂ´rs

  • Desktop
  • Mobile
  • Enterprise

Prodots

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riservatece
  • Cookies
  • Notis legâls

Gjavant dulà che al è indict in mÝt diviers, i contignÝts su chest sÎt a son distribuÎts cun licence Creative Commons Atribuzion CondivÎt te stesse maniere v3.0 o versions sucessivis.