MozillaZine

Phoenix image/banner ad blocking extensions?

Talk about add-ons and extension development.
maubp
 
Posts: 281
Joined: December 5th, 2002, 12:36 pm
Location: UK

Post Posted December 8th, 2002, 3:46 pm

I'm aware of these two extensions for Mozilla which try to hide/block images:

http://bannerblind.mozdev.org/

http://adblock.mozdev.org/ (According to the FAQ, the Author would like to support Phoenix, but would like some help)

EDIT - As of Jan 2003, Bish has now got Adblock working with Phoenix

Are there any Phoenix compatible extensions in this area yet? The built in image blocking is good, but doesn't help when a site serves up both its own images and its adverts.

Thanks

P.S. Has anyone tried blocking "link images" based on where they link to?
Last edited by maubp on January 4th, 2003, 6:59 am, edited 1 time in total.
Peter

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted December 8th, 2002, 4:01 pm

maubp wrote:I'm aware of these two extensions for Mozilla which try to hide/block images:

http://bannerblind.mozdev.org/

http://adblock.mozdev.org/ (According to the FAQ, the Author would like to support Phoenix, but would like some help)

Are there any Phoenix compatible extensions in this area yet? The built in image blocking is good, but doesn't help when a site serves up both its own images and its adverts.

Thanks

P.S. Has anyone tried blocking "link images" based on where they link to?


There are a few other thread on image blocking. Please search the forum.

Zaphod

User avatar
 
Posts: 175
Joined: November 22nd, 2002, 12:07 am
Location: Munich, DE\Europe

Post Posted December 8th, 2002, 4:02 pm

No. The only avaible extension in this way is Nuke Image (http://texturizer.net/phoenix/extensions.html#nukeimage).
Maybe there will come new extensions, but at the moment its the only one.

maubp
 
Posts: 281
Joined: December 5th, 2002, 12:36 pm
Location: UK

Post Posted December 8th, 2002, 4:17 pm

Thanks Zaphod - I've got Nuke Image and its very handy.

Also there is a mouse gesture that is supposed to hide an image (and also there are double size and half size image gestures).
Peter

Zaphod

User avatar
 
Posts: 175
Joined: November 22nd, 2002, 12:07 am
Location: Munich, DE\Europe

Post Posted December 8th, 2002, 4:24 pm

maubp wrote:Thanks Zaphod - I've got Nuke Image and its very handy.

Also there is a mouse gesture that is supposed to hide an image (and also there are double size and half size image gestures).

NP! AFAIK no. But its better you ask the author of Nuke Image ;-)

shimage
 
Posts: 129
Joined: November 5th, 2002, 3:39 am

Post Posted December 8th, 2002, 6:21 pm

maubp wrote:Thanks Zaphod - I've got Nuke Image and its very handy.

Also there is a mouse gesture that is supposed to hide an image (and also there are double size and half size image gestures).

i think that the mouse gesture extension is supposed to be able to do that on mozilla, but since phoenix doesn't have that whole double/half size image thing, it doesn't work on phoenix.

Magus
 
Posts: 2022
Joined: November 28th, 2002, 11:39 am
Location: that-a-way ->

Post Posted December 12th, 2002, 10:23 pm

I've made a userContent.css file that blocks a large percent of ads, based on their sizes.

Just stick it in the chrome directory under your profile.

http://the-magi.us/files/userContent.css

Edit: It also fixes some of the MSKB margin bugs
For every action there is an equal and opposite criticism.

lstrong2k
 
Posts: 41
Joined: December 13th, 2002, 12:44 am
Location: Boston, MA, USA

Post Posted December 13th, 2002, 12:45 am

Wow. Thanks for posting that. That works really well.
--Larry

geekgirl

User avatar
 
Posts: 8
Joined: December 10th, 2002, 9:17 pm

Post Posted December 13th, 2002, 1:57 am

Yes, thanks, Magus!

Magus
 
Posts: 2022
Joined: November 28th, 2002, 11:39 am
Location: that-a-way ->

Post Posted December 13th, 2002, 3:11 am

No problem :D

I will also be updating it as I find new common ads or whatnot.

I think I'll go ahead and post it into the Stuff section for now, until I get the files section finished.

So if you want to check for updates, it'll be in http://the-magi.us/stuff/
For every action there is an equal and opposite criticism.

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted December 13th, 2002, 8:44 am

Magus wrote:No problem :D

I will also be updating it as I find new common ads or whatnot.

I think I'll go ahead and post it into the Stuff section for now, until I get the files section finished.

So if you want to check for updates, it'll be in http://the-magi.us/stuff/


http://www.geocities.com/alanjstarr/moz ... ontent.css has a little more generic blocking and MSKB is updated to version 2 now

examples:

.KBPUBV2
*[src*="/ads/"],
*[width="468"][height="60"],

mstoer

User avatar
 
Posts: 90
Joined: November 28th, 2002, 11:12 am
Location: Victoria, BC, Canada

Post Posted December 13th, 2002, 11:01 am

Thanks alanjstr, that works very nice. Much easier to surf the groups at Yahoo now!

Marcell

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted December 13th, 2002, 11:25 am

*[width="468"][height="60"],

That's the one I'm not sure about. I was trying to get it to represent img, embed, iframe, and object all in one go. But then I still get some ads at nytimes.com that match dimensions I've specified. Most of the ads I think I block are because of the src keywords.

Magus
 
Posts: 2022
Joined: November 28th, 2002, 11:39 am
Location: that-a-way ->

Post Posted December 13th, 2002, 4:18 pm

alanjstr wrote:
*[width="468"][height="60"],

That's the one I'm not sure about. I was trying to get it to represent img, embed, iframe, and object all in one go. But then I still get some ads at nytimes.com that match dimensions I've specified. Most of the ads I think I block are because of the src keywords.


Well if it doesn't actually specify width="480" and height="60" then it won't catch. The CSS selectors only work on attributes that are specified.

btw, where did you find into on *= ? I've been trying to find a good selector reference, but can't seem to find one anywhere.
For every action there is an equal and opposite criticism.

Stefan

User avatar
 
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post Posted December 13th, 2002, 9:51 pm

Magus wrote:btw, where did you find into on *= ? I've been trying to find a good selector reference, but can't seem to find one anywhere.


Did you try this place?

http://www.w3.org/TR/REC-CSS2/selector.html

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 3 guests