Hacker News new | ask | show | jobs
by gowld 2233 days ago
JavaScript. Web browser controls only work if the page uses the standard APIs.

Much of the reason browser's don't block simple things is that advertisers will happily write a memory-hogging CPU-hogging virtual machine to force the feature to run anyway. You can't win by trying to control what hostile code does after you let it run. Block untrusted domains from running code on your machine.

1 comments

It's probably easier to run a JS script to mine crypto than a virtual machine to run a video ad though.