How can I select (from Tampermonkey script) all SPAN elements in current
webpage which contain a property "foobar"?
The assigned value is unimportant.
So elements like the following should be matched:
<span aaa="bbb" foobar="23452345" .....>...</span>
I tried:
$('span[foobar^=""]').remove();
but it didn't work.
And
$('span').attr('foobar').remove();
didn't work either.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/greasemonkey-users/1dc3fa73-b31d-4091-93c4-a3317f3fc395n%40googlegroups.com.