Dodatki za brskalnik Firefox
  • Razširitve
  • Teme
    • za Firefox
    • Slovarji in jezikovni paketi
    • Druge strani brskalnika
    • Dodatki za Android
Prijava
Predogled "CodeMirror PRIMARY Bridge"

CodeMirror PRIMARY Bridge — 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 ocen)0 (0 ocen)
Prenesite Firefox in pridobite razširitev
Prenesi datoteko

Metapodatki o razširitvi

O tej razširitvi
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.
Ocena 0 (0 mnenj)
Prijavite se, da ocenite to razširitev
Še ni ocenjeno

Ocena shranjena

5
0
4
0
3
0
2
0
1
0
Še ni ocenjeno
Dovoljenja in podatki

Zahtevana dovoljenja:

  • izmenjuje sporočila z drugimi programi poleg Firefoxa
  • dostopa do vaših podatkov za vsa spletna mesta

Neobvezna dovoljenja:

  • dostopa do vaših podatkov za vsa spletna mesta

Zbiranje podatkov:

  • Razvijalec pravi, da ta razširitev ne zahteva zbiranja podatkov.
Več o tem
Več informacij
Povezave dodatka
  • Stran s podporo
  • E-naslov za podporo
  • Kopiraj ID dodatka
Različica
1.0.0
Velikost
18,5 KB
Zadnja posodobitev
pred 11 dnevi (4. jun. 2026)
Sorodne kategorije
  • Razvoj za splet
Licenca
Licenca MIT
Zgodovina različic
  • Ogled vseh različic
Dodaj v zbirko
Prijavi ta dodatek
Pojdi na domačo stran Mozille

Dodatki

  • O strani
  • Blog Dodatkov za Firefox
  • Delavnica razširitev
  • Razvojno središče
  • Pravilniki za razvijalce
  • Blog skupnosti
  • Forum
  • Prijavi hrošča
  • Smernice za ocene

Brskalniki

  • Desktop
  • Mobile
  • Enterprise

Izdelki

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Zasebnost
  • Piškotki
  • Pravno obvestilo

Če ni navedeno drugače, je vsebina tega spletnega mesta na voljo pod licenco Creative Commons Attribution Share-Alike v3.0 ali pod katerokoli novejšo različico.