Well, since Greasemonkey uses only Javascript...I am trying to find out what text is inside a <p> in order to either hide it or not. Well the <p> is only given a class, no id or anything. It looks like this:
Code: Select all
<p class="error">Some text here.</p>
I was also thinking that there would be something like ****.paragraphs[0] or something, just like ****.forms[0].
However, I can't find anything on that. Any suggestions/solutions?