Element Hiding Help

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
NJH
Posts: 60
Joined: Thu Jun 15, 2006 9:23 am
Location: Hampshire, England

Element Hiding Help

Post by NJH »

I've never really bothered with element hiding up to now, But I want to clean up my Credit Card prociders statement.

Looking at the source (I do not understand HTML), the part I am struggling to hide is something like

Code: Select all

<fieldset>
<ul>
<li>
stuff here
</li>
</ul>
<fieldset>
There are no attributes in the fieldset, ul or li tags. I cannot hide all li tags as there are a load of "li id=????" tags. All the "li id=" tags are within ul and div tags, so the combination fieldset, ul, li is unique. Is there any way to hide li tags which do not have the id= attribute?

Can anyone help?
Wladimir Palant

Post by Wladimir Palant »

Something like this should work:

Code: Select all

site.com##fieldset > ul
In general, Element Hiding Helper extension makes generating these rules much easier.
NJH
Posts: 60
Joined: Thu Jun 15, 2006 9:23 am
Location: Hampshire, England

Post by NJH »

Thanks for that. It does what I want.

I did use EHH and I got as far as I could with the FAQ, but I have no knowledge of CSS and I could not see how to select on multiple elements in one go.
Wladimir Palant

Post by Wladimir Palant »

You have to switch to advanced view.
Post Reply