On 14.05.2012 17:56, SA wrote:
Okay the honest answer is I haven't much of a clue as to what is going
on in GM... basically I want to selectively change bits which are
visible. So, for instance "mb" to "MB" which is stored within the
invisible table. The data in this table is rendered in the tabs and I
was hoping that if I changed this data it would render with the
changes when the tabs were revealed. Further examination indicates the
data I want to change lies outside of this div . The problem I have
now is the data I want to change isn't contained in a conveniently
named object - any idea how I change this?
Assuming you want to change these, you can select spans with a class of
"pressure", otherwise you could look for digits followed by "mb" in all
text content and replace that, as an another option ... nothing GM
specific here, just plain DOM manipulations. If your selectors get more
complex jQuery may be helpful, see
http://wiki.greasespot.net/Third-Party_Libraries#jQuery for details.
--
Klaus Johannes Rusch
[email protected]
http://klausrusch.atmedia.net/
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.