help with blocking nbsp filter!

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
tHEbIGbOSS
Posts: 4
Joined: Sat May 26, 2012 10:36 pm

help with blocking nbsp filter!

Post by tHEbIGbOSS »

Okay so i play this site to vend on called gaiaonline.com and there is a buy now page and i want to know how to remove this
http://prntscr.com/9q8bb in the source code here is how it is. http://prntscr.com/9q8cl
I only want to block the text not the Buy Now button.

I really want help on this if you can give me the filter that would be great.


-Cj and Ben
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: help with blocking nbsp filter!

Post by lewisje »

I don't think you can, because there's no way in CSS to select just a text node, and that text is inside an element that contains the "Buy Now" button.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
tHEbIGbOSS
Posts: 4
Joined: Sat May 26, 2012 10:36 pm

Re: help with blocking nbsp filter!

Post by tHEbIGbOSS »

lewisje wrote:I don't think you can, because there's no way in CSS to select just a text node, and that text is inside an element that contains the "Buy Now" button.
Okay thanks
tHEbIGbOSS
Posts: 4
Joined: Sat May 26, 2012 10:36 pm

Re: help with blocking nbsp filter!

Post by tHEbIGbOSS »

lewisje wrote:I don't think you can, because there's no way in CSS to select just a text node, and that text is inside an element that contains the "Buy Now" button.
it's not really css you know.
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: help with blocking nbsp filter!

Post by lewisje »

tHEbIGbOSS wrote:
lewisje wrote:I don't think you can, because there's no way in CSS to select just a text node, and that text is inside an element that contains the "Buy Now" button.
it's not really css you know.
Actually it is: Every hiding rule consists of a domain selector (which may be empty, meaning it applies to all domains) followed by ##, followed by a CSS selector, and it works just the same way as injecting a style element into the page with the code (CSS selectors from applicable hiding rules){display:none!important}.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
tHEbIGbOSS
Posts: 4
Joined: Sat May 26, 2012 10:36 pm

Re: help with blocking nbsp filter!

Post by tHEbIGbOSS »

lewisje wrote:
tHEbIGbOSS wrote:
lewisje wrote:I don't think you can, because there's no way in CSS to select just a text node, and that text is inside an element that contains the "Buy Now" button.
it's not really css you know.
Actually it is: Every hiding rule consists of a domain selector (which may be empty, meaning it applies to all domains) followed by ##, followed by a CSS selector, and it works just the same way as injecting a style element into the page with the code (CSS selectors from applicable hiding rules){display:none!important}.
so that text cant block
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: help with blocking nbsp filter!

Post by lewisje »

You can't block the text without also blocking the button.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Locked