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?

  • Topic Archived
  1. Boards
  2. PC
  3. How to block websites on Chrome without using any extensions?
10 months ago#11
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.
10 months ago#12
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
10 months ago#13
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
10 months ago#14
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
10 months ago#15
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.
10 months ago#16
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.
10 months ago#17
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
10 months ago#18
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.
10 months ago#19
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.
---
---
  1. Boards
  2. PC
  3. How to block websites on Chrome without using any extensions?

Report Message

Terms of Use Violations:

Etiquette Issues:

Notes (optional; required for "Other"):
Add user to Ignore List after reporting

Topic Sticky

You are not allowed to request a sticky.

  • Topic Archived