Element Hidding plus Regular Expressions?
Posted: Sun Jun 19, 2011 4:53 pm
I want to filter something on a site and I think I need to combine Element Hidding with some Regular Expression. Using the Element Hidding Helper I get for example: somesite.com##DIV[id^="sq"][style="display: block;"]
The problem is that this site changes the ID randomly on each reload but I can't leave the ID out of the rule, because there is another element using just style="display: block;" without an ID that I shouldn't block.
So I need something like somesite.com##DIV[id^="*"][style="display: block;"] The problem is that [id^="*"] doesn't work as I expected
. So my question is how to specify that I want the rule to work only on elements that have an ID?
Thanks in advance!
edit: and I can't use nth-child(x) because it also changes its position randomly
The problem is that this site changes the ID randomly on each reload but I can't leave the ID out of the rule, because there is another element using just style="display: block;" without an ID that I shouldn't block.
So I need something like somesite.com##DIV[id^="*"][style="display: block;"] The problem is that [id^="*"] doesn't work as I expected

Thanks in advance!

edit: and I can't use nth-child(x) because it also changes its position randomly