On Thursday, May 17, 2012 4:02:27 PM UTC+1, Anthony Lieuallen wrote:
>
> Much better:
>
> document.getElementById('foobar').style.display = 'none';
>That'll work in other software besides Greasemonkey (I think?), what else makes it better? If there's more than one style to change GM_addStyle seems less cluttered, and won't this method fail if the element is created after the script has run..? -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To view this discussion on the web visit https://groups.google.com/d/msg/greasemonkey-users/-/73SBqBgQ_18J. 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.
