Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aembleton
on Dec 15, 2022
|
parent
|
context
|
favorite
| on:
Lesser-known JavaScript APIs
Let's say you want to allow duckduckgo.com to listen to the visiblitychange event but all other sites should be blocked. Then you could use the following:
~duckduckgo.com,*##+js(aeld, visibilitychange)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: