On 4 April 2012 11:41, Ben Stover <[email protected]> wrote: > In a previous post I asked how to delete a whole div pane like > > <div id="foobar"> > .... > </div> > > and an answer was: > > $("#foobar").remove(); > .. > I assume that I cannot call JQuery statements directly from *.user.js scripts. > > How else can I call them? >
Before installing the script, you need a line like this in the meta data description of the userscript. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js more info: http://wiki.greasespot.net/Third-Party_Libraries#jQuery If you have already installed the script, you need to uninstall and install again, since required libraries are only downloaded on installation. -- -- ℱin del ℳensaje. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. 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.
