Click the items you want to hide on the webpage.
Click Done.
To unhide, click Allow or block pop-ups in Safari on Mac