Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mrob
· 7y ago · 0 comments
How can the browser distinguish between useful background Javascript (e.g. web based chat) and harmful background Javascript (e.g. advertising)?
Comments
[–]
vrodic
7y ago
It might not be perfect, but allowing only web workers (if you agree on getting push notifications from a page) might be the solution.