GI1 Are you looking to do that within the browser, or somewhere else? That's not clear.
If you mean the browser, do you mean Vanadium, or some other browser?
I believe Brave takes care of this out of the box.
You may be able to get rid of those on a browser like Vanadium by using a DNS that blocks them, but of course that will depend on the DNS provider being used and wht they block.