Opera Ad Blocker

For the sake of my sanity, i'm going to join in this s***ty conversation

If you block ads by making them redirect to localhost (that is the IP of 127.0.0.1 which is in the HOSTS file as a redirect also), they will continue to try and connect to your localhost, instead of simply being stopped from loading. They will try to load roughly three times or more before they finally give up. Is this really that hard to understand?

what gave you the idea that it keeps trying to reconnect to localhost? if a URL is redirected to localhost, it will try to go there once and then stop loading. because of the fact that our home computers do not have an HTTP server running, there is nothing on Port 80 which is what it tries to connect to. when there is nothing to connect to, it stops.

Same thing with websites. if you type in, let's say my IP address in the website bar, your computer will try to establish a connection on port 80 with my computer. But, if there is nothing running on Port 80, then the program will stop trying to establish a connection and display a warning after 1 or 2 seconds.

HOSTS files are also not meant to block malware. Using a special HOSTS file to block ads or malware is false security and a waste. Malware can very easily modify your HOSTS file, even if you set it to read only. Frequently malware can edit your HOSTS file to redirect your browser to other unwanted websites. The CoolWebSearch hijackers are masters of altering your read-only HOSTS file. It even says so on Merijns website (see below). Malware can also redirect Windows to use a HOSTS File that has nothing to do with the one you keep updating.

so if we have a specially made HOSTS file that can block the malware from getting to our computers, then how will the malware modify our HOSTS file? In my opinion, the HOSTS file is perfect for blocking ads, malware, and malicious sites because of the fact that it stops them BEFORE they can even get to our computers. It also works with every program on the computer so there's no point in getting expensive or resource hungy programs to do the job when we have 1 simple thing in the palm of our hands. And also if you're so worried about the HOSTS file, then get Spybot or SpywareBlaster. they supposedly have HOSTS file protection of some kind :mellow:.

Ah, keep up the attitude. That way even more people will ignore you and you will get even less traffic then you already do at that site that you try to spam every chance you get.

Now, here's the really funny part. I cite Microsoft KBs as my sources. Obviously they know how the HOSTS file works best. Everyone else cites unofficial websites that are merely speculating how the HOSTS files work. They tell you a load of crap because they want you to use their HOSTS file to block ads and other stuff that really does not need to be blocked.

Since when was MS the only reliable source? If they had their way we would all only use MS Office, Moviemaker, One Care, Defender, ect. I'm no MS hater but I also don't think their way is the only way.

People have been tweaking, changing, and modifying their windows pcs for as long as they've been available and most of the time the changes they made are better for what they do. You could probably find a MS article on every thing you can do on windows and why they say not to do it but on some things the benefits outweighs the cost. Hell, there might even be a artice of why you should use IE and not FF but obviously people feel that the profit outweighs the cost.

No, that's incorrect. A HOSTS file doesn't block URLs. It redirects them to a specified IP address.

Fine you can say that your being redirected and I'll say that the URL was blocked. Thats just a difference in terminology with the end result being the same: the URL in the host file will not be loaded.

Do I understand why that URL wasn't loaded? Sure, I do. By entering 127.0.0.1 before the URL whenever windows goes to load that site it is redirected to your machine instead of the actuall server.

Example:

127.0.0.1 ad.doubleclick.net blocks all files from the DoubleClick Server to the web page you are viewing.

If you block ads by making them redirect to localhost (that is the IP of 127.0.0.1 which is in the HOSTS file as a redirect also), they will continue to try and connect to your localhost, instead of simply being stopped from loading. They will try to load roughly three times or more before they finally give up. Is this really that hard to understand?

What is the point your trying to make? If this is where your trying to say that using a host file will slow down browsing then I'm not going to argue this. Not because it slows anything down but because you can say it does and I can say it dosent all day long and it wont make a difference. The only way this can be determined is if someone actually uses the MSMVP host file, follows the directions on the site and then reports back on what their opinions are. I put this host file on my winxp, win 98, and my new laptop and I noticed no difference in any of them. I wouldn't use anything myself if it caused pages to load a minute longer than they normally. I tried this on multiple machines and the average change wasn't even in seconds and the difference was probably caused more by web traffic than by the host file.

BTW: Circuit City has an awesome deal on a Toshiba laptop right now. :D

I just got mine saturday.

http://www.circuitcity.com/ssm/Toshiba-Sat...roductDetail.do

HOSTS files are also not meant to block malware. Using a special HOSTS file to block ads or malware is false security and a waste. Malware can very easily modify your HOSTS file, even if you set it to read only. Frequently malware can edit your HOSTS file to redirect your browser to other unwanted websites. The CoolWebSearch hijackers are masters of altering your read-only HOSTS file. It even says so on Merijns website (see below). Malware can also redirect Windows to use a HOSTS File that has nothing to do with the one you keep updating.

Malware can get past antiviruses, firewalls, and anything else. Nothing is the be all end all and thats why you need layered protection. True the host file can be modified and setting it to read only will not stop all infections but it does stop some of them. Besides even if you didn't have a special host file the host file would be edited by CWS or any other infection that edits the host file anyway. Its not like it singles out the people that use the specialized ones. This is just the "secure" vs "more secure" debate again and I've already been through this once and it goes nowhere. At least now I know where its coming from.

Why would I tell people to use something that was going to slow down their computer? I would get no benefit what so ever from it besides people not thinking I'm credible anymore. I obviously don't want that so why would I do it? Can I be wrong? Sure, no one is perfect but don't try to say that I'm spreading propaganda. Thats more slander on your part than any propaganda on my part.

If you block ads by making them redirect to localhost (that is the IP of 127.0.0.1 which is in the HOSTS file as a redirect also), they will continue to try and connect to your localhost, instead of simply being stopped from loading. They will try to load roughly three times or more before they finally give up. Is this really that hard to understand?
To avoid that, I run a little app called eDexter. It substitutes a local image (the default is a 1 pixel, 43 byte gif) for blocked/redirected sites. I use it to avoid the "The page cannot be displayed" messages but, theoretically, it also speeds things up to load a very small local file rather than download larger files over the internet.

For the sake of my sanity, i'm going to join in this s***ty conversation

what gave you the idea that it keeps trying to reconnect to localhost? if a URL is redirected to localhost, it will try to go there once and then stop loading. because of the fact that our home computers do not have an HTTP server running, there is nothing on Port 80 which is what it tries to connect to. when there is nothing to connect to, it stops.

I've run tests on my VPC along with a firewall to alert me to every single connection attempt made. That included to the web and to localhost. Even a page with one ad, it would sometimes attempt to connect more than once.

Same thing with websites. if you type in, let's say my IP address in the website bar, your computer will try to establish a connection on port 80 with my computer. But, if there is nothing running on Port 80, then the program will stop trying to establish a connection and display a warning after 1 or 2 seconds.

so if we have a specially made HOSTS file that can block the malware from getting to our computers, then how will the malware modify our HOSTS file? In my opinion, the HOSTS file is perfect for blocking ads, malware, and malicious sites because of the fact that it stops them BEFORE they can even get to our computers. It also works with every program on the computer so there's no point in getting expensive or resource hungy programs to do the job when we have 1 simple thing in the palm of our hands. And also if you're so worried about the HOSTS file, then get Spybot or SpywareBlaster. they supposedly have HOSTS file protection of some kind :mellow:.

As stated in my previous post, malware can still alter and even replace your HOSTS file. Malware is an executable file, just like everything else you use. It sends a command line parameter to change the state of the HOSTS file from a read-only state to writable. After that it replaces it with whatever it wants. All it does is send the ATTRIB command along with -R. See this link on DOS Command: ATTRIB for more information.

That's not very secure if it's that simple to disable the read-only attribute, is it?

For stopping malware the best thing to use are SpywareBlaster for Firefox and IE. If you need more protection, use IE-SpyAd.

For Ad-Blocking in IE you can also block ads with IE-SpyAd. This is a great utility to use, because it will block BOTH malware links AND advertisements in the IE browser! Now, do you need IE-SpyAd? Well, if you use IE and have valid concerns about malware, it would be a good idea. If you never use IE at all, or only use it for Windows Updates, then you probably won't need it. The choice is yours. Best of all, it's based off of the registry by adding domains and IP addresses to the Restricted Domains list. All of this is stored in the registry, so you won't have to worry about it slowing your connection or having any impact on your computer's performance. Awesome huh? :P

It doesn't stop there! The maker of IE-SpyAd also has a way to block ads with Agnitum Outpost Professional Firewall. It's called AGNIS. AGNIS for Outpost is a ported version (Ported in this case, is that it was for other software and then carried over for another) of AGNIS for AtGuard and Norton Internet Security (and also Norton Personal Firewall). This list will integrate into your Outpost Pro firewall to help block ads of all kinds, including Flash, Javascript, even certain image sizes. You can replace them with the text [ad] or a 1x1 pixel transparent gif image.

For Ad-Blocking in Firefox, you can use AdBlock Plus with FilterSet.G. Now, some of you are probably asking what's so great about AdBlock Plus and FilterSet.G. Well, let's look at the Google text ads, shall we? If you have the AdBlock Plus extension enabled, it actually comments out the Google text ads.

<!-- GOOGLE BANNER -->
<script type='text/javascript'>

<!–

google_ad_client = “pub-2666250944335766”;
google_ad_type = “text_image”;
google_ad_channel =“3469252430”;
google_alternate_ad_url = “www.example.com/advert/chitika_forums.htm”;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = ‘728x90_as’;
google_color_border = ‘2666B8’;
google_color_bg = ‘FFFFFF’;
google_color_link = “000099”;
google_color_url = ‘008000’;
google_color_text = ‘000000’;

//–>

</script>
<script type=‘text/javascript’
src=‘http://pagead2.googlesyndication.com/pagead/show_ads.js’>
</script>
<!-- GOOGLE BANNER –>
</div>

Did you notice these codes above: <!-- and //--> ? Those are HTML comment tags. What those do is hide any text that is between them. That's right, it's just like programming (because HTML is just another programming language after all!)

So, how did it get there? Well, as a page loads, AdBlock Plus checks through a huge list that it has downloaded and enabled, thanks to FilterSet.G. It looks for keywords in URLs and other places within the generated page source code for any webpage. When it finds a match it comments it out. So when your page loads, you get to see the webpage without any nasty ads or bloat. Plus pages will load faster (and some quieter!). What's even cooler about AdBlock Plus is you can set it to automatically disable on certain webpages of your choice. :D

I hope you've found this informative, John. :)

To avoid that, I run a little app called eDexter. It substitutes a local image (the default is a 1 pixel, 43 byte gif) for blocked/redirected sites. I use it to avoid the "The page cannot be displayed" messages but, theoretically, it also speeds things up to load a very small local file rather than download larger files over the internet.

My firewall does the same thing Glenn. Outpost Pro will find keywords and even key image sizes. It works wonders and does it so much faster and more efficiently than ZoneAlarm Pro attempted to do. When I was working on dialup years ago and made the switch to Outpost Pro, the pages were loading so much faster it was truly amazing. Over a 75% increase in pageload times.

lol. so you made a post and then made another post and blaming it on lagging? wow :D. j/k i saw that the previous post was posted twice.

I hope you've found this informative, John.
well since i don't use Firefox, i don't care about Adblock or FilterSet.G but you did introduce me to IE-SpyAd as i have never heard about it. was easy to install(although i did have to edit the reg file to work with IE7). but i'm not sure if it works better than Spybot's IE plugin :).

i don't care about Adblock or FilterSet.G but you did introduce me to IE-SpyAd as i have never heard about it. was easy to install(although i did have to edit the reg file to work with IE7). but i'm not sure if it works better than Spybot's IE plugin :).

IE-SpyAd more-or-less blocks the same s**t that SpywareBlaster does, well SpywareBlaster is missing something like 23 or 38 sites (don't remember exactly).

can somebody split this topic or something? the topic is supposed to be about Opera's Ad Blocker and not about the HOSTS file. this discussion is just silly when i look at it.

Yeah splitting threads would be helpful. :)

Please and thank you. :lol: