Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
beala
10mo ago
0 comments
Save
Share
Chromium based browsers treat localhost as a secure context, so HTTPS isn't required to access APIs like the clipboard, web serial, etc.
0 comments
2 comments · 2 top-level
top
newest
oldest
chuckadams
10mo ago
Not just localhost, but *.localhost too. It's not just Chromium, it's a standard that Firefox supports too (Safari as usual is kind of spotty):
https://www.w3.org/TR/secure-contexts/#is-origin-trustworthy
cluckindan
10mo ago
Is that a recent development? It was not so a couple years ago, at least not when a non-80 port is specified.
j
/
k
navigate · click thread line to collapse