이 스크립트는 직접 설치해서 쓰는 게 아닙니다. 다른 스크립트가 메타 명령 // @require https://update.greasyfork.org/scripts/462013/1164920/Abnormal%20Menu.js
(으)로 포함하여 쓰는 라이브러리입니다.
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.