An uBlock filter list is the correct solution to this problem. I want to keep browser extensions which have full access to all website contents at an absolute minimum. I only use extensions which are available in the official Arch repos (like firefox-ublock-origin).