It's not naive! We need to revisit pretty much everything...
Some of the scripts actually have legitimate purposes, so those need to be pushed into the browser or declarative options.
Then, what you describe is pretty close to what Alex had in mind I think.
♥ 1