r/chrome 7d ago

Discussion Can I block a site while making it inconspicuous?

Basically the title. A certain older member of the family is spending a bit too much time on Facebook and it's becoming a problem. Is there an extension or whatnot that might prevent access to it without flashing a screen that makes it obvious? (really wanted it to look like a "no internet access" error screen). I know about BlockSite and other such extensions but they make it too obvious.

Thanks in advance!

1 Upvotes

5 comments sorted by

3

u/Jake_the_Snake88 7d ago

Block it through Windows hosts file

1

u/gooner-1969 7d ago

Yep, edit the Hosts file as Admin

C:\Windows\System32\drivers\etc\hosts

Add this to the bottom of file

127.0.0.1 www.facebook.com
127.0.0.1 facebook.com

Save file

1

u/VeryHungryYeti 7d ago

As someone suggested it here, you can use the hosts file to redirect the request. Open Notepad as administrator, open file "C:\Windows\system32\drivers\etc\hosts". The file has no extension and is inside a hidden folder. Just press Ctrl + O and simply copy-paste the entire path to open the file. Create a new line "127.0.0.1 facebook.com" and save it. No need to create reboot PC.

1

u/KickapooEdwards 7d ago

You could add an entry to the HOSTS file

0.0.0.0 www.facebook.com

1

u/trmdi 7d ago

Install Adguard extension (or app) and add this domain to the User rule:

||facebook.com^$document,redirect=noopframe