This is a JavaScript script that creates a menu for scripts.
此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/462013/1164920/Abnormal%20Menu.js
Abnormal Menu is a JavaScript library for creating customizable menus. It provides various components such as buttons, switches, select menus, and file drops.
You can include Anormal Menu in your script project by adding the script header below to your Tampermonkey script file:
// @require https://greasyfork.org/scripts/462013-abnormal-menu/code/Abnormal%20Menu.js?version=1164919
To create a menu, simply call the CreateMenu function and pass in an object with the following properties:
var menu = new CreateMenu({
title: "Menu Title",
startX: 10,
startY: 10,
width: 600,
height: 600,
pin: true
});
For more information and examples, please refer to the official documentation: Abnormal Menu Documentation
I hope this helps! Let me know if you have any other questions.