uMatrix
Point and click matrix to filter net requests according to source, destination and type
If you know NoScript, you will love uMatrix! https://github.com/gorhill/uMatrix
uMatrix is a bit hard to use, but once you understand it, you will love it.
It will take some time until you have whitelisted everything you usually need, but it's worth the work.
You will see: your browser will become faster & you'll see almost no ads.
Here is a random video that should explain everything:
I'll ask you that, by the way. Do you use tillingWM?
I use https://i3wm.org/.