Is there an easy way to block a website in Firefox? I mean actual websites, not pop-up ads.
There are some ways listed here, but they sound a bit too complicated for my feeble, non-tech-savvy brain.
Is there an easier way?
Another one is Killjasmin. It is called a pop-up blocker, but the effect is the same. If you enter the website name, Firefox won’t take you there.
The method of adding 127.0.0.1 lines to the hosts file is reasonably simple enough.
(1) Locate the hosts file. It is in different places on different machines.
On a Winders machine it’s located at C:\Windows\System32\drivers\etc\hosts
and on Mac and Unix and Linux machines and it’s located at /etc/hosts
(2) Make a back-up copy of the file, using any file-copying method of your choice.
(3) Open the hosts file in any plain-text editor of your choice. For Winders users,
Notepad or Wordpad are commonly used. Notepad is simplest.
(4) Add any number of lines similar to these, for example:
127.0.0.1 www.youtube.com
127.0.0.1 www.craigslist.org
127.0.0.1 www.stormfront.org
Add a separate line like these for every site you wish to block.
These lines all begin with 127.0.0.1
Be sure to leave alone all existing lines in the file. Just add new lines at the end.
(5) Save the file. You may or may not even have to re-start your browser
or re-boot your machine.
Note, you may need to have some kind of admin privilege or superuser privilege
to do all this. If you need more help with this, or with finding or editing the file,
the best way is to get somebody knowledgeable to help you in person.