Home » Computer » Software » Browser » Using jQuery in Greasemonkey

Using in (with ):

    function myjob()
        // your code...

        method: 'GET',
        url: 'http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js',
        onload: function(r){ eval(r.responseText); myjob(); }

One Reply to “Using jQuery in Greasemonkey”

  1. Jacky says:

    It seems that you can use @require to include the library in the new version of greasemonkey: http://wiki.greasespot.net/Metadata_block#.40require .

Leave a Reply

Your email address will not be published. Required fields are marked *