I bet I can solve this problem for you/us.
What (I think) is wrong is that you have entered into your “HOSTS� file all those url’s that send all those annoying ads to your computer when you surf,...
but instead of getting a clean looking, uncluttered, easy to read page like you thought you’d get,....
there are a bunch of stupid looking “action cancelled� pages wherever there used to be an ad.
I tried the registry edit/hack and had no luck with it.
So I Googled around a little and figured out that the “navigation cancelled� page is .html, but can’t be accessed via normal means. That is, you can’t just do a search for the file and just edit the code to be a blank page. And as I mentioned, it wasn't possible for me to just enter a different value into the registry to change it either, as this link suggests:
http://windows.about.com/library/tips/bltip568.htm
The way to fix this, that is, to have blank fields where all the ads which your computer does not even have to download anymore, and which look much cleaner than the alternative, is to do something called a “Resource Hack�.
I found some freeware on CNET’s download site by searching on that term,
"Resource Hacker" :
http://download.com.com/3120-20-0.ht...rce+hacker&tg=
dl-2001&search.x=0&search.y=0&search=+Go%2521+
....and installed and ran the program.
With this program, I am able to access an .html page “inside� of a .dll file.
The .dll of interest here I believe is (res://)C:\WINDOWS\System32\shdoclc.dll, and the .html code is navcancl.htm.
If you right-click where the ad used to be and the ‘navigation cancelled� message/.html is,.... and then access the properties from the drop-down menu, you can see this information, as well as the ad’s url.
So, once you have the resource hacking freeware installed and running, navigate within it to the .dll and open the navcancl.htm up. Cut or delete the .html code in the ‘file’ and replace it with your own favorite code or do what I did and just replace it with the (simple) .html code for a blank page.
Then save the new navcancl.htm to the .dll and close the program and...
voila.