Besides using anti-virus software, I wondered if there were other ways in which I could reduce the amount of threats to my online privacy and security. One method that I came across was to block adware and malware before it had the chance to reach my browser and computer.
For the technically inclined person there is Pi-Hole which is a network-wide adware/malware blocker. The name comes from the use of a Raspberry Pi to act as a black hole for adware/malware. Currently, supported operating systems include Raspbian, Ubuntu, Debian, Fedora, and CentOS.
A much easier method, which essentially does the same thing, is to modify your computer’s hosts file. For a safe and easy way to do this, I recommend that you use free GUI software to implement this. Windows users can download Hosts File Editor+ and Mac users can download Gas Mask.
Scroll down the page a little until you come to a table of all the different combinations of blacklists.
From there you would choose which list to use, as your new hosts file depending on your personal preferences by clicking on the corresponding Non Github mirror.
Using your hosts file editing software, you would then create a new hosts file by copying and pasting your preferred list. You may want to check for an updated list every once in a while. Most of these lists have their associated creation dates near the top for convenience.