Greasy Fork 还支持 简体中文。

Example JS Userscript

This a standard userscript with javascript code

目前為 2025-05-03 提交的版本,檢視 最新版本

  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!");