Filter with exception

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Noize
Posts: 4
Joined: Tue Jun 02, 2009 12:46 am

Filter with exception

Post by Noize »

Hi there,

I have a filter blocking a special div, tagged by ID.
Let's say:
sample.com#DIV(id=bad_div)

Now in the div there's a button I don't want to hide. Let's say the button (in fact it's a link) is titled "useful_link".

When I set a filter like
sample.com#DIV(id=bad_div)@@A(title=useful_link)
the whole div "bad_div becomes visible, nothing gets hidden.

Did I missunderstand the exception-rules or is it just a bit comlicated because of the html?

thx in advance,
Noize
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Post by Ares2 »

Exception rules don't work with element hiding rules. And you can't "half-hide" a div. You can only try to NOT hide the div, but everything inside it except for the link.

If you give us a link to the site in question, it would be easier to help.
Noize
Posts: 4
Joined: Tue Jun 02, 2009 12:46 am

Post by Noize »

I thought about posting a link, but it leads you to gmx.net, an email-service.

Together with web.de they introduced some weeks ago a navigator-toolbar above the actual content. It collects your passwords and makes the logins to specific services easier - that are the pros on the part of gmx and web.de.

Unfortunately they didn't provide the option to disable this toolbar. It's useless, a must and unsafe. It's crap!

For web.de I set up a filter succesfully, in combination with userContent.css for Firefox even the whitespace disappeared. But gmx has moved it's Logout-Link into this goddamn toolbar and that's my problem :)

Since not every gmx/web.de user gets this toolbars (beta?), there's no guarantee for seeing it when creating a new account.

That's why I decided not to post a link :|

I'll try to hide everything except the logout-link, as you told me. Maybe it'll work ;)

Edit:
yeah! I got it! I hid everything except the logout-link and optimized the design with userContent.css. Now this bullsh*t is gone, except for the logout-link. THANKS!
Locked