Consider getting an adblocker because you don't need anyone to fill your brain with garbage, or to execute code on your local machine.
For firefox, I would recommend uBlock origin
For safari I personally use AdGuard.
For Google Chrome, I suggest not cementing google's stranglehold on the internet, but otherwise I believe uBlock origin still exists for it. Idk manifest v3 was not a great choice for adblocking software