// ==UserScript==
// @name MyName
// @namespace http://mywebsite.com
// @Version 1.0
// @description try to take over the world!
// @author Me
// @match http://mywebsite.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @include https://mywebsite.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
$(document).ready(function(){
});
})();
I found the solution. after "// ==/UserScript=="
add this code :
/* globals jQuery, $, waitForKeyElements */
or var $ = window.jQuery;
Most helpful comment
I found the solution. after "// ==/UserScript=="
add this code :
/* globals jQuery, $, waitForKeyElements */