// ==UserScript== // @name arras.io menu // @namespace http://tampermonkey.net/ // @version 3.14159265358979 // @description Bounds keys do stuff // @author delta-1 // @match https://arras.io/ // @grant none // @license MIT // @downloadURL none // ==/UserScript== 'use strict'; const HTML = `
Builds

1. 2/2/2/7/8/8/7/6/0/0 fighter 10.7 mil
2. 4/9/2/9/9/0/0 landmine 9 mill
3. 1/1/8/8/8/8/1/7/0/0 build that i made 1
4. 2/2/8/8/8/8/0/6/0/0 build i made 2
5. 3/3/7/7/7/7/1/7/0/0 20 mill auto auto-seer

memes
diep.io fighter plush
diep cool pic
diep.io hybrid and slave
diep cool pic
Arras.io menu thing? arras cool pic
if you understand you do. if you dont... Click here The original ver. here
Theme
` const styles = ` a:link { color: green; background-color: transparent; text-decoration: none; } a:visited { color: pink; background-color: transparent; text-decoration: none; } a:hover { color: red; background-color: transparent; text-decoration: underline; } a:active { color: yellow; background-color: transparent; text-decoration: underline; } .greenthing {border: 1px solid green; padding-left:10px; padding-right:10px; border-collapse: collapse; overflow-y:auto; word-wrap:break-all; } div#greenthing > table, th, td { } div#greenthing > button { font-family: inherit; font-size: 1em; } } ` const menuStyles = { position: "absolute", top: "25%", width:"50vw", height:"60vh", left: "25%", display: "none", "background-color": "rgba(0, 80, 89, 1)", "font-family":'"Montserrat","Verdana"' } // const menu = document.createElement("div") for (var prop in menuStyles) { menu.style[prop] = menuStyles[prop] } menu.innerHTML = HTML menu.id = "dt-menu" const styleElement = document.createElement("style") const font = document.createElement("link") font.rel = "stylesheet" font.href = "https://fonts.googleapis.com/css?family=Montserrat" styleElement.innerHTML = styles document.head.appendChild(styleElement) document.head.appendChild(font) document.body.appendChild(menu) const myEvent = function(event) { switch (event.key) { case "Escape": if (menu.style.display == "none") { menu.style.display = "block" console.log("Menu Enabled!") } else { menu.style.display = "none" console.log("Menu Disabled!") } break } } window.addEventListener("keydown",myEvent) console.log("Key functions loaded!")