This isn't really chrome specific, but I couldn't see the 'General' forum the future development forum mentioned, so mods please move this if necessary...
I have been using adblock for some time and I often like to hide sections of the page which I am not interested in, as well as ads.
However, some elements I want to keep but they float or they don't autosize or they're too big/small etc.
I thought it would be really useful if adblock would allow rules for doing this, similar to the attribute filters.
Something like:
Code: Select all
www.domain.com###TD[height="500"]:[height="1000"]
It wouldn't necessarily always change the element being searched for, for example:
Code: Select all
www.domain.com###TD[height="500"]:[align="center"]
It might also be handy to have smarter replacements (possibly using regex) to replace only PART of an attribute for example with styles (which have a lot of different settings inside).
If implemented and popular, it would be great if a UI could be developed for less HTML knowledgeable people to (un)check and edit attributes in the page and have adblock scan the page for unique attribute identifiers for blocking elements without ids or classes (without accidentally blocking other elements on the page). Also alerting the user when these rules stop working because of website design changes might be useful.