On 2015-01-28 14:33, 'Ben' via greasemonkey-users wrote:
Ok, thank you.

But can I hide the element WITHOUT a "jQuery()" statement?
You certainly can, no need to use jQuery if you want to manipulate the DOM directly but that's not really a Greasemonkey solution. The logic is the same as in the jQuery solution.

I mean just with pure Javascript or even better with pure CSS?
That too, you can add a custom style that hides the element, like (untested)

GM_addStyle("div.entry-content > div.wp-caption { display: none !important, visibility: hidden !important }");

--
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 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to