Greasy Fork is available in English.

Abnormal Menu

This is a JavaScript script that creates a menu for scripts.

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/462013/1164920/Abnormal%20Menu.js

作者
anonimbiri
版本
0.0.1.20230322163349
建立日期
2023-03-17
更新日期
2023-03-22
授權條款
未知

Abnormal Menu

Abnormal Menu is a JavaScript library for creating customizable menus. It provides various components such as buttons, switches, select menus, and file drops.

Installation

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

Usage

To create a menu, simply call the CreateMenu function and pass in an object with the following properties:

  • title: The title of the menu.
  • startX: The x-coordinate of the starting position of the menu.
  • startY: The y-coordinate of the starting position of the menu.
  • width: The width of the menu.
  • height: The height of the menu.
  • pin: Whether or not the menu should be pinned to the screen.
var menu = new CreateMenu({
    title: "Menu Title",
    startX: 10,
    startY: 10,
    width: 600,
    height: 600,
    pin: true
});

Documentation

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.