This is a split board - You can return to the Split List for other boards.

How to block websites on Chrome without using any extensions?

#11WyzeGyePosted 9/1/2014 4:07:59 PM(edited)
http://winhelp2002.mvps.org/hosts.htm

direct download - http://winhelp2002.mvps.org/hosts.zip


The only part you should worry yourself about on this page is this part

http://puu.sh/bhB2e/0a4d5c1e40.png


all done automagically with a .bat file.
---
http://puu.sh/8IK8Q/8e25ebacb7.jpg - - http://steamsignature.com/profile/english/76561198039262606.png
Wolves don't lose sleep over the opinions of sheep.
#12MrMonkhouse(Topic Creator)Posted 9/1/2014 4:10:19 PM
wizardmon posted...
MrMonkhouse posted...
Judgmenl posted...
Use your HOSTS file.

This looks very complicated....

It's a text file, you add the site you want blocked in it.

That's all.


Ok I added the websites, but when I try to save, this "save as" option comes up. Do I just save it as hosts as a .txt file or do I select "all files" then overwrite the hosts file?
---
http://i.imgur.com/j74SykU.gif
http://i.imgur.com/BcGVG.gif
#13MrMonkhouse(Topic Creator)Posted 9/1/2014 4:17:18 PM
Well I tried doing it and it said access denied even when I'm already running the admin account.
---
http://i.imgur.com/j74SykU.gif
http://i.imgur.com/BcGVG.gif
#14Unsugarized_FooPosted 9/1/2014 5:30:32 PM
If you have any internet browsers open, you might need to close them
---
"All I have is my balls and my word, and I don't break them for anyone!"-Tony Montana
#15OUberLordPosted 9/1/2014 8:05:05 PM
Dont try to open the file itself; you wont be able to save over it.

Instead, go into your start menu, find Notepad, right click it, and Run As Administrator. Then use the File > Open menu to open the HOSTS file and edit it that way.
#16ShubPosted 9/1/2014 8:10:58 PM
Unsugarized_Foo posted...
If you have any internet browsers open, you might need to close them


Nope

OUberLord posted...
Dont try to open the file itself; you wont be able to save over it.

Instead, go into your start menu, find Notepad, right click it, and Run As Administrator. Then use the File > Open menu to open the HOSTS file and edit it that way.


Yep
---
-What is best in life?
-To crush your enemies, see them driven before you, and to hear the lamentation of the women.
#17PraetorXynPosted 9/1/2014 8:29:29 PM
This is why Windows needs something like sudo.

sudo emacs /etc/hosts

At least in Windows 7 you could use the run dialog, but in Windows 8 you have to run notepad as admin and open it manually as far as I can tell.
---
Console war in a nutshell:
http://imgur.com/xA6GJZ9.png
#18ElkiadorPosted 9/1/2014 8:36:22 PM
Control Panel > User Accounts > Change User Account Control Settings > Never Notify

Just do that and you'll never have to worry about Windows telling you you don't have access to something even with an admin account.

Good luck trying to block Facebook completely with the HOSTS file though.
#19mrCubePosted 9/1/2014 8:54:51 PM
PraetorXyn posted...
This is why Windows needs something like sudo.

sudo emacs /etc/hosts

At least in Windows 7 you could use the run dialog, but in Windows 8 you have to run notepad as admin and open it manually as far as I can tell.


Typing out the whole path to the Windows hosts file would be ridiculous.

Sudo's just a program that some distros provide, there are programs for Windows that do similar things, they're just not included.
---
---