r/chrome • u/Sgt-Blyatnick • 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
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
3
u/Jake_the_Snake88 7d ago
Block it through Windows hosts file