Y
Hacker News
new
|
ask
|
show
|
jobs
by
lxgr
468 days ago
The latter poses some security problems, though, which the native messaging API avoids (e.g. random websites being able to connect to the native application and pretending to be your extension).
1 comments
vbezhenar
468 days ago
When random websites connect to your application, you can (and should) inspect Referer header and filter out unwanted ones.
link