<div id="foobar">
....
</div>
and an answer was:
$("#foobar").remove();
Thank you.
I wrote this statement into a user script
myscript.user.js
and installed it on my current Firefox.
However when I called the web page then the div pane remains and is not deleted.
Why?
I assume that I cannot call JQuery statements directly from *.user.js scripts.
How else can I call them?
So do I have to wrap them somehow:
CallJQeury("$("#foobar").remove();");
Ben
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.
If you have already installed the script, you need to uninstall and
install again, since required libraries are only downloaded on
installation.
@name, @require, @include, @exclude, etc.)."