You can easily block a website on Firefox — but you'll need to download the Block Site extension first.
You can block websites on Google Chrome using an extension called BlockSite or in Settings.
This guide explains how to block and filter websites to restrict employee access to certain content on the company network.