-
January 12th, 2017, 06:40 PM
#1
How do I block a site that isn't malicious?
Every time I go to a particular site it spawns two instances of another site I don't want to see. Can I block it by making some sort of entry in the hosts file? Or by any method?
Thanks - rev
-
January 12th, 2017, 06:48 PM
#2
What browser are you using?
Are you using an adblocker?
You could use the hosts file if you know the name/IP of the site, but that's a bit tedious. Are you sure they are always the same site?
-
January 12th, 2017, 07:08 PM
#3
Browser is Chrome, no add blocker.
>Are you sure they are always the same site?
Yes, two instances of the same thing and both automatically start playing video.
If I did have the name/IP, what would the hosts entry look like?
-
January 12th, 2017, 07:27 PM
#4
The first thing I would do is install an adblocker. Go with uBlock Origin.
https://chrome.google.com/webstore/d...jbkeiagm?hl=en
If the sites are still popping up after installing uBO, then you can add a filter.
Click on the uBO icon (top right), then click the black bar to open the dashboard
Click on My Filters
Enter the website name (ex. www.sitename.com)
Click Apply changes
If you really don't want to install an adblocker, you can try editing the hosts file. This way is more tedious, which is why I don't recommend it.
You need to open notepad as an administrator first.
http://www.howtogeek.com/howto/27350...ur-hosts-file/
Then you'd enter the IP and DNS name, and save the hosts file.
127.0.0.1 www.sitename.com
127.0.0.1 is the loopback IP, so it basically points the website back to your computer instead of connecting to the real IP
Last edited by Midknyte; January 12th, 2017 at 07:37 PM.
Reason: added loopback info
-
January 12th, 2017, 07:37 PM
#5
>If you really don't want to install an adblocker
No, that sounds fine. I'll give it a shot.
Thanks!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|