// ==UserScript==
// @name        Test
// @namespace   All
// @description Test
// @version     1.0
// @grant       unsafeWindow
// @require     
https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==

   console.info("GM Trigger OK");
   $( "div" ).addClass ("test1" );
   eCount = $( "div" ).addClass ("test2" );
   console.info("GM div Count " + eCount);


<html>
<body>
<div>this is my div</div>
</body>
</html>

Hi,

when iam using this little gm script, i got *$(...) is null.*

any suggestions, what going wrong?

thanks





-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to