Notices


Reply
Thread Tools
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#91
Originally Posted by Addison View Post
Is it not possible to block a specific graphic?

Say something like www.place.com/stupid.jpg.

I've tried this a few times but it doesn't seem to take for some reason.
Addison when I go to your link I dont see a jpg I get
Wondering why you're here??
so its difficult to help here
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following User Says Thank You to rcull For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#92
Given that this is hostfile based, i suspect it is not possible. It can only block specific hostnames by basically redirecting it to the loopback address (127.0.0.1).
__________________
Be warned, posts are often line of thoughts at highway speeds...
 

The Following User Says Thank You to tso For This Useful Post:
dchky's Avatar
Posts: 549 | Thanked: 299 times | Joined on Jun 2010 @ Australian in the Philippines
#93
Just a question if I might, I haven't seen anyone ask it yet, but what is the performance impact on the N900 when using a very large host file? The list has to be scanned every time a lookup is needed so definitely there will be a delay - I'm guessing from all the positive comments that the delay is not noticeable.

I saw mention of 127.0.0.1 being used for the IP which is maybe not as fast as using 0.0.0.0 instead. Any thoughts on that?
 

The Following User Says Thank You to dchky For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#94
not sure if going broadcast vs loopback have any noticeable difference.
__________________
Be warned, posts are often line of thoughts at highway speeds...
 

The Following User Says Thank You to tso For This Useful Post:
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#95
You can block any URL so if you inspect the source and find the link to the jpg then if the path to it is a full URL ( ie not just a local reference ../images/xxx.jpg ) you can specifically block it.

Any slowdown due to host table lookup is more than offset by the speed increase due to not having to fetch the adds.
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following User Says Thank You to rcull For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#96
Hey rcull.

I would like to block this image of unhappiness.

http://http.cdnlayer.com/cf/images/smilies/tongue.gif
 
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#97
Addison
I may not have been completely clear in my last post. What you are blocking is the server, so for instance on your URL what you would block is the whole of http.cndlayer.com. If the image is local, ie. on the same server as the rest of the content, which I suspect it is, then you would be blocking the complete site. In which case it makes no sense.

The only way to do this without affecting the rest of the content would probably be by using some sort of css.

Rick
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following User Says Thank You to rcull For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#98
The problem with CSS is that while it will hide the image, it will still be downloaded in the background (iirc). I toyed with using CSS to block those facebook fan boxes a while back as they caused Tear to reload the page continually. While it could hide the box from view, it did nothing to stop the reloading as that was part of the javascript driving the box.
__________________
Be warned, posts are often line of thoughts at highway speeds...
 

The Following User Says Thank You to tso For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#99
I think I goosed something bad on another forum I tend to visit.

I was there at the time when I was using Advoid, now none of the images are being shown anymore.

Any suggestions?

 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#100
I guess I just need to know where the host file is so that I can delete it and start all over again.

Because yeah, nothing else that I do seems to be working.

Thanks!
 
Reply

Tags
adblocking, browser, hostfile


 
Forum Jump


All times are GMT. The time now is 07:45.