Surprised noone mentioned NoScript yet. It requires a bit more user interaction. But if you are worried about privacy and maybe security, it is important to know who is running scripts on your machine.
NoScript is magic. I got it on whitelist so websites by default don't get to use scripts. Turning uBlock Origin and NoScript off is an entirely different internet.
When I looked into it, it appeared uBlock origin already does what no script does when you turn on advanced mode and block 3rd party urls. (medium mode) Probably need to block first party to get quite there but that's usually overkill.
Now sticking with medium mode, most sites need a bit of fixing like no script did, but it's all done in uBlock.