WindPowa
Offline
Post: 12313990_31 created on Fri Mar 10, 2006 7:21 pmPosted: Fri Mar 10, 2006 7:21 pm
![]() |
dantman WindPowa KumaBlind You're too young to be a programmer! gonk -------------------------------- I'll take that as a compliment ^_^ There's no age for programming. Period. -------------------------------- KumaBlind I envy you that you're so young yet, you're very skilled at something. -------------------------------- Thanksies. My skillz keep increasing though ~ twisted -------------------------------- KumaBlind Although if it were me, I definitely would not choose that thing to be programming. Good luck anyhow. I'm too simple-minded to understand how all that stuff works anyway. =/ -------------------------------- *patpats* most people feel the same xd I bet that's why so many voted "Pointless crap". Why is everybody posting into this thread and not into this one ? gonk This message formatter is only a part of my tool collection... rolleyes I just felt like this tool was important enough to have its own thread smile -------------------------------- I agree there's isn't real age for programing... I'm only 16 and I've been programing for a year or two... xp Hey... I still use IE.... Why? you ask... Because my security system comes with a popup-blocker, add-blocker, and a Quick Form filler... but firefox won't work with the security system... Though... I do have firefox... I use it mostly for doing CSS... -------------------------------- AAAAHHH IT'S AN IE USER RU NAWAY FOR YOUR LIFE eek Seriously, FireFox has all the extensions you need. A pop-up blocker is already bundled, and AdBlock can be downloaded here. Here's one form filler and here's another. Now just give me a possible excuse for not using it. About Ad Blocking... I posted this on my forum, TechSpeak... -------------------------------- WindPower -------------------------------- ... or how to pass from this http://img479.imageshack.us/img479/2029/withads9ek.th.jpg to this http://img455.imageshack.us/img455/6929/withoutads9ps.th.jpg ... and don't say there's no difference. OK let's go ! Some of you use FireFox and AdBlock to block those stupid ads. But what about other browsers ? Well I thought about a way to do that with any browser. Yeah ! biggrin So let's list some ad servers... [code:1]www.atdmt.com www.doubleclick.net doubleclick.net ad.nozonedata.com ads.pointroll.com us.ard.yahoo.com us.a1.yimg.com us.js2.yimg.com ad.doubleclick.net view.atdmt.com a.tribalfusion.com ad.ca.doubleclick.net ads.deviantart.com pagead2.googlesyndication.com[/code:1] All of these domains contains only ads. So why not blocking the traffic between them and your compie ? Would be nice, heh ? Fortunately, it is possible. Some little theory... When you try to access to any domain, your comp needds its IP address that he's going to fetch from one of the root servers, which are special servers that contain a list of domains associated with their respective IP. The root server sends you back the IP, and connection is now possible. But how to tell your browser not to go there ? There's a file called the hosts file in Windows. Open up C:WINDOWNs or WINNTsystem32driversetc. You'll see a file without extension called "hosts". Open it with the notepad... Windows will first search for IPs there. And if it finds one, it won't verify it. Good ! biggrin So the only thing you have to do is to add each ad server along with a fake IP. Any IP, that doesn't matter. As long as it's not theirs razz How to tell ? Just ping them. Here's a lil ping to pagead2.googlesyndication.com... http://img454.imageshack.us/img454/461/pagead2googlesyndicationcom9xt.jpg [code:1] ping -n 1 pagead2.googlesyndication.com = ping 1 time pagead2.googlesyndication.com[/code:1] As you can see their IP is 216.239.21.99, so let's put another ! Why not 64.62.206.195 ? That's the one I use for everyone, don't ask me why... So just add this line to your hosts file : [code:1]64.62.206.195 pagead2.googlesyndication.com[/code:1] Then just repeat it with every server... [code:1]64.62.206.195 www.atdmt.com 64.62.206.195 www.doubleclick.net 64.62.206.195 doubleclick.net 64.62.206.195 ad.nozonedata.com 64.62.206.195 ads.pointroll.com 64.62.206.195 us.ard.yahoo.com 64.62.206.195 us.a1.yimg.com 64.62.206.195 us.js2.yimg.com 64.62.206.195 ad.doubleclick.net 64.62.206.195 view.atdmt.com 64.62.206.195 a.tribalfusion.com 64.62.206.195 ad.ca.doubleclick.net 64.62.206.195 ads.deviantart.com 64.62.206.195 pagead2.googlesyndication.com[/code:1] Don't forget to save your hosts file, and restart your browser. You can also use this tip to speed up your browser. I've posted this on Gaia... I OK in this tpic I'll tell you how to let your computer stop asking a root server for Gaia's IP address. Lemme explain. So basically here is what happens when you type "www.gaiaonline.com" then press enter. I've spimplified everything in order to give just the info you need in order to know how it works. Feel free to skip this if you don't care. OK then, let's say you've typed www.gaiaonline.com in your browser's address field. Your browser has to deal with this address and bring you Gaia online's homepage. So first of all he needs to establish a connection to Gaia's server. But how ? he has no clue. So he's gonna ask a special computer (called "root servers" wink that contain every (or almost every) IP address and their corresponding domain name. The root server will respond to your browser's request and give out www.gaiaonline.com's IP address (64.124.18.252, actually). Then your browser is happy and establishes right away the connection, using the IP he gathered. Gaia's server sends you the homepage's HTMl code and your browser displays it. And you may log in. biggrin Yeah ! biggrin OK now how to speed things up ? Well if you've read what's above you can guess by yourself. Prevent the browser from asking over and over the same IP address for the same domain name. The result ? Time gained. There's a file called the hosts file, for Windows users. It's located in C:WINDOWS or WINNTsystem32driversetc for 2000 and XP users. The file name is "hosts", without extension. Open it with the notepad or any plain text editor. There might be instructions about this file inside itself. Add this line at the end of the file : 64.124.18.252 www.gaiaonline.com You can also add those lines : 64.124.18.252 gaiaonline.com 208.185.6.190 mitsukake.gaiaonline.com Save the file and close it. You're done mrgreen ! You can do that for every website you visit. Just add a line to your hosts file with the IP address, the domain name, separated by at least one space. If you don't know how to find out a website's IP, there are various ways to do it, but here's a simple one : 1) Hold down the "Windows' flag" key (between Ctrl and Alt), press R, release everything (or use the Start menu and click on "Run..." wink 2) Type "cmd" (for WIN XP and 2000 users) (without the quotes) ad press Enter. 3) Type "ping myserver.com" (without the quotes), where myserver.com is the domain name you wish to get the IP address. 4) Press Enter. 5) On the first line, between [brackets], is the IP address you were searching for. -------------------------------- |
|








