I'm using Chrome 27.0.1453.116 m and have enabled "Experimental Javascript", however I'm unable to get jQuery to run on Tampermonkey.
I have tried:
// ==UserScript==
// @name My Fancy New Userscript
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// ==/UserScript==
var $ = unsafeWindow.jQuery;
var jQuery = unsafeWindow.jQuery;
However, I get an error on the line var $ = unsafeWindow.jQuery;
highlighting unsafeWindow
saying unsafeWindow was used before it was defined. How to fix this?