Page 1 of 1

[Feature Request] Using XPath expressions?

Posted: Mon Sep 17, 2007 9:19 am
by Lucas Malor
How about allow element hiding rules based on XPath expressions?

XPath:
http://www.w3.org/TR/xpath

document.evaluate :
http://developer.mozilla.org/en/docs/DO ... t.evaluate

Posted: Mon Sep 17, 2007 10:46 am
by Wladimir Palant
This was suggested a few times before - but that one is technically difficult. XPath (unlike CSS) is not designed to be applied immediately. It is supposed to work on documents that already finished loading - that would be a setback.

Posted: Mon Sep 17, 2007 1:15 pm
by Lucas Malor
Mh. Anyway it could be useful for simply hiding some annoying element CSS rules can't hide.