You can easily block a website on Firefox — but you'll need to download the Block Site extension first.
You can block pop-ups on your Mac using the built-in Safari web browser, or on other web browsers like Google Chrome or ...