To block websites you can use a browser extension (such as Block
Site), a proxy server (such as
Squid), but there is
also the option of editing the hosts
file, a method that consumes very
little RAM and, unlike the browser extension, will work for any browser
or program Keep reading Block websites: hosts
file