Earlier quoted context omitted.
> We cant ban just the bad Javascript Well, technically it's possible, and even some parts of the script could be allowed to run or not. > a browser cannot distinguish it from the good But the user can. And the machine could help, thanks to machine learning.
> But the user can. How? I don't think that users even agree what consists of "good" and "bad" JavaScript.
For the more advanced things, like identifying the part of Javascript code that brings e.g. 'the fancy eating 40% of the CPU scrollbar' user want to disable, some automation is needed.