Example JS Userscript

This a standard userscript with javascript code

  1. // ==UserScript==
  2. // @name Example JS Userscript
  3. // @description This a standard userscript with javascript code
  4. // @match https://github.com/quoid/userscripts
  5. // @exclude-match: *://*.*
  6. // @version 1.1
  7. // @grant GM.setValue
  8. // @grant GM.getValue
  9. // @require https://code.jquery.com/jquery-1.12.4.min.js
  10. // @namespace https://greasyfork.org/users/1323231
  11. // ==/UserScript==
  12.  
  13. console.log("I was updated!");