Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta
// @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.