A newsletter box, a floating video, a banner that covers half the article. Safari lets you point at it and make it go.
Address field > Page Menu button > Hide Distracting Items
click each item > Done
While the mode is on, Safari outlines whatever is under the pointer, so you can see what is about to vanish. Click the annoyance, then Done. On a phone or tablet you tap instead.
It remembers your choice for that website, including other pages that use the same element, which is the part I appreciate on sites I visit often.
To get things back, open the Page Menu again and choose Show Hidden Items. Worth knowing when a page suddenly misses its search bar because you were a bit too enthusiastic.
This is not an ad blocker. Safari warns that ads and other content that changes will come back, so it suits fixed furniture such as a signup box. In a private window the hidden items are forgotten once you quit Safari. It needs Safari on macOS Sequoia or later, or iOS 18 or later. I wouldn’t use it to hide a cookie choice either, because hiding a box is not the same as answering it.
Further reading: Hide distracting items on webpages in Safari
Going deeper: Guide: run your own search engine with SearXNG and make it the default on your iPhone and Mac