Re: [greasemonkey-users] Changing HTML code (NOT CSS) possible? Addressing NESTED,INNER

Sat, 02 Feb 2013 16:49:25 -0800


Solution for 2.) is maybe not so easy, because all methods I know don't care about the element's level, so you'd have to find out which level your table-node has on your own. How dynamical is your target page, is the second level table's tag always the second <table>-tag on the page or something like that?

I use XPath a lot for this sort of thing. For example, something like /html/body/table/tbody/tr/td/table (I haven't tried that, but it should be close) will select the second level tables in the example HTML. The path would need tweaking for the actual page, but the concept would be the same.

Brian

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to