~/talk

Native Messaging: Launch and Communicate with Any Application from Your Browser

TalkinFrenchat Devoxx France 2023 · 2023-04-12..04-14· [web-platform, security]
links:none on file
slides:none on file

Native Messaging describes how browser extensions can launch and communicate with native executables over stdio using two APIs: connectNative/Port for long‑lived connections with postMessage/disconnect, and sendNativeMessage for one‑shot JSON UTF‑8 exchanges. The setup requires a per‑OS/browser app manifest (Windows uses a registry key to point to it), explicit extension whitelisting, and a native program that reads/writes length‑prefixed JSON; note Chrome Web Store validation and stdio limits as important constraints.

AI-written summary · about

  1. 0:00Native Messaging intro
  2. 1:03Browser support history
  3. 3:28How it works and use cases
  4. 4:55Key config files
  5. 7:23Online vs offline modes
  6. 9:55OS and browser differences
  7. 12:05Main limitations
  8. 14:34Native Messaging alternatives
  9. 15:16Conclusion and demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.