Even then, they're using disallow lists. If you go on a random web page with novel JS, then that'll still be run.
The only people working of allow lists are the people running NoScript and the like, and those truly aren't running random JS. But those people are a rounding error compared to the greater internet.