Welcome to Gaia! ::

Reply Technology
Blocking Websites

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

Kazemuki
Captain

PostPosted: Thu Jun 28, 2007 4:40 pm


So, at one point or another you've probably all gotten sick of seeing a half dozen adverts scrolling across a page you visit, right? Well, here's a pretty easy way to block them, and much everything else.

  1. If you're running Windows XP; just be logged in as a privileged user.
  2. Open a DOS command window, and type:
    notepad C:WINDOWSsystem32driversetchosts
  3. Put the following line in hosts:
    127.0.0.1 www.google.com
  4. Click: File >> Save.
  5. Now try to open http://www.google.com/ with ANY web browser on your computer. If it doesn't work, then I advise selling your soul to the penguin ^.^
  6. Remove the line you added from hosts to restore access to the Google, and add whatever website you want to block.
Notes:

  • You may have to change the drive letter. I just used C: as an example
  • This will also work on all Linux distros through the following steps:

    1. System
    2. Root Terminal
    3. Enter command: mousepad /etc/hosts
    4. Follow the steps detailed above


  • In my experience, this may be rather limited on Linux systems as I have found that you can bypass the filter entirely by dropping the www.
PostPosted: Mon Sep 24, 2007 6:19 pm


I'm a little confused - is this to block google adds?
Or will it block google.com and gmail?

In firefox you can block ads of all sorts by downloading "no script."

Skizio
Crew


Kazemuki
Captain

PostPosted: Tue Sep 25, 2007 12:36 pm


It just depends on what you input--if you tell it to block the 'www.google.com' root, then Google and all google/ pages will be blocked; if you tell it to block scripts from google's ad domain, that's what will get blocked.

I really haven't much experience with this option, so I can't give you a better answer than that. neutral
PostPosted: Tue Sep 25, 2007 3:20 pm


Ah...my friend told me another interesting code today.

Format C: rofl


(don't try it though). eek

Skizio
Crew


Kazemuki
Captain

PostPosted: Wed Sep 26, 2007 6:33 pm


I have no C: drive. I am so very privileged. 3nodding

That's always fun when you wipe the drive, though.
Reply
Technology

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum