Apple's fifth beta of iOS 18, iPadOS 18, and macOS Sequoia introduce a new feature named Distraction Control in Safari that hides distracting elements like cookie popups with a vapor-like animation. The option can hide ads, but only temporarily.
https://alternativeto.net/news/2024/8/apple-introduces-distraction-control-in-safari-to-hide-annoying-webpage-elements/