Is this JQuery code or does it require any other library to load in advance? Or can I simply put your code into a GM *.user.js script?
Am Mittwoch, 4. April 2012 19:17:28 UTC+2 schrieb [email protected]: > On 04/04/2012 09:35 AM, Ben Stover wrote: > > > How can I delete a whole <div> pane with the following spec: > > > > <div id="foobar"> > > .... > > </div> > > Try this: > > var elem = document.getElementById("foobar"); > elem.parentNode.removeChild(elem); > > -- > Michal Wojciechowski > http://odyniec.net/ | http://userscripts.org/users/49673 > > -- 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/-/vm5Q267NvZkJ. 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.
