Agma Animation Panel

animation

اعتبارا من 15-06-2024. شاهد أحدث إصدار.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Agma Animation Panel
// @version      0.1
// @match        *://agma.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=agma.io
// @grant        unsafeWindow
// @author       Anonymous Agma
// @run-at       document-start
// @description  animation 
// @namespace hi
// ==/UserScript==

let send;
let status = false;
const osend = WebSocket.prototype.send
WebSocket.prototype.send = function () {
    send = (...args) => osend.call(this, ...args)
    return osend.apply(this, arguments)
}
unsafeWindow.anim = (id) => send(new Uint8Array([0xb3, id]));
window.addEventListener('load', (event) => {
    $('body').append(`
<div id="fushykng" style="
    background-color: #2b2929a6;
    position: fixed;
    right: 10px;
    top: 54%;
    border-radius: 5px;
    transform: translateY(-50%);
    display: grid;
    gap: 10px 10px;
margin-top: 20px;
    grid-template-columns: repeat(5, 1fr);
">
<style >#fushykng>div{
    padding: 5px;
    background-color: #ffffff26;
    border-radius: 5px;
    border: 1px #ffffff40 solid;
}</style>
`);
    for(let i = 1; i < 60; i++) $('#fushykng').append(`<div onclick="anim(${i})">${i}</div>`);
    document.addEventListener("keydown", event => {
        if (event.code == 'Numpad1') {
            if(status == false){
                status = true;
                document.getElementById("fushykng").style.visibility = "hidden";
            } else {
                status = false;
                document.getElementById("fushykng").style.visibility = "visible";
            }
        }
    });
});