1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Advertisement Question

Discussion in 'General Internet' started by Evan Omo, 2006/11/09.

  1. 2006/11/09
    Evan Omo

    Evan Omo Computer Support Technician Staff Thread Starter

    Joined:
    2006/09/10
    Messages:
    7,919
    Likes Received:
    511
    Hello all,
    I have a question. If you visit a website sometimes there will be advertisments and if you click on them they will take you to a bad website. For example there will be an ad saying you won a free ringtone. If you click on the ad you will be taken to a bad website where it will ask you to enter your e-mail address and so on. My point is these ads are very annoying and I would like to know if there is any way to not display ads in wepages. I heard that you can do this in Firefox I believe but can you block Ads in IE? I am using Windows XP Service Pack 2 with Internet Explorer 7 and McAfee Siteadvisor installed. Any suggesstions would be greatly appreciated. :)
     
  2. 2006/11/10
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Evan Omo--One way would be to create a HOSTS file and then populate it with the sites offered in this reference.
    http://www.mvps.org/winhelp2002/hosts.htm
    HOSTS physically blocks access to known bad sites. Of course you are depending on the person who created the list of sites. You should consider being more cautious about what links you click.
    I assume you have Antivirus, antispyware and a firewall installed. IE Tools|Internet Options|Security and Privacy tabs also offer protection from bad site.
    If you need more suggestions, post back for further information.
     

  3. to hide this advert.

  4. 2006/11/10
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Another way is using your firewall - I use CA Personal Firewall and block all ads, banners, etc. through that.
     
  5. 2006/11/10
    Evan Omo

    Evan Omo Computer Support Technician Staff Thread Starter

    Joined:
    2006/09/10
    Messages:
    7,919
    Likes Received:
    511
    Hey PeteC,
    Thanks for your advice. Whenever I visit a website and there are banner ads I don't click them because I know that they will direct me to a bad website. I also do have Windows Firewall enabled, Windows Defender, Ad-aware Se Personal, Spybot search and Destroy, and Avast Home Edition installed. I am assuming that one of the only ways to disable banner ads is a hosts file? I am also assuming that there isn't an option in IE7 to disable banner ads? One more thing can you disable banner ads with the windows firewall or do you need a third party firewall? Please let me know. Thanks :)
     
  6. 2006/11/10
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Evan Omo--IE generally does not have the ability to block ads, except in the rare cases where the adsite insists on your allowing cookies in order to access the site. You can stop accepting cookies by putting the site into Restricted. But not accepting cookies prevents access to only very few sites. Similarly, you may prevent the use of ActiveX controls, but that blocks only some images, not access to the site.
    The HOSTS file actually prevents access to a site. You will often see "The page cannot be displayed" on parts of a website that has ads from those blocked sites.
     
  7. 2006/11/10
    Evan Omo

    Evan Omo Computer Support Technician Staff Thread Starter

    Joined:
    2006/09/10
    Messages:
    7,919
    Likes Received:
    511
    Thanks for the information Welshjim. I guess I will use a hosts file to block those annoying banner ads then. :)
     
  8. 2006/11/11
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    To avoid any confusion here you do not have to create the HOSTS file - it already exists in XP. The link Jim gave will populate it with a list of undesirable websites which will then be blocked.

    You will find it here ....

    C:\WINDOWS\system32\drivers\etc\HOSTS

    Note that it does not have an extension and can be opened in Notepad. The link Jim posted will populate it automatically for you.
     
  9. 2006/11/11
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    PeteC--It has been so long since I created my own HOSTS file that I cannot remember. But I do not think Windows comes with a HOSTS file. It comes with a HOSTS.sam file which is a sample or template explaining how a HOSTS file should look. I seem to remember that I made a copy of HOSTS.sam, renamed to HOSTS (no .sam) and then populated it--at first on my own and then, when I learned about it, using the mvps.bat file in the mvps.org Hosts.zip file.
    I am not sure that the browser will execute blocking action based on a file called HOSTS.sam. I may be wrong.
    In any event, just moving the mvps.org HOSTS file into the proper location (for XP C:\WINDOWS\SYSTEM32\DRIVERS\ETC\ )--without using the mvps.bat file the first time around--will create an active HOSTS file. Thereafter updates can be quickly made by using the mvps.bat file that comes in the mvps.org Hosts.zip download.
     
    Last edited: 2006/11/11
  10. 2006/11/11
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
  11. 2006/11/11
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Jim

    XP has a HOSTS file by default together with a HOSTS.sam (sample) hosts file as you rightly mention.

    The default HOSTS file contains this ....
    127.0.0.1 localhost is the active entry.

    The HOSTS.sam contains this (truncated to save space) ....
     
  12. 2006/11/11
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    PeteC--The two quoted files you have posted are
    First one--HOSTS.sam
    Second one--LMHOSTS.SAM (don't why the "sam" is capitalized)
    At least that is how they are named on my PC.
    As mentioned, I can no longer remember if a file named just plain HOSTS came with XP Pro.
     
  13. 2006/11/11
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Jim

    I copied the HOSTS file from my laptop - plain HOSTS, no extension. I misnamed the hosts.sam file :(

    As you can see I do not have the MVPS Hosts file on that as it rarely gets used on the Internet.

    On my desktop I have the MVPS HOSTS installed - note that it contains the active line I mentioned ....
     
  14. 2006/11/11
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    PeteC--I think we both agree that the line 127.0.0.1 localhost must appear in the HOSTS file at the beginning of sites to be blocked. And that the file must be named just plain HOSTS.
    P.S. I see that you are one update behind on your mvps.org HOSTS file. Latest is dated October 30. :)
     
  15. 2006/11/11
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Thanks for that, Jim - I must update :)
     
  16. 2006/11/11
    Evan Omo

    Evan Omo Computer Support Technician Staff Thread Starter

    Joined:
    2006/09/10
    Messages:
    7,919
    Likes Received:
    511
    Thanks again everyone for all the information. :)
     
  17. 2006/11/11
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Evan Omo--You are welcome!! Hope it makes you more secure.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.