// ==UserScript== // @name DogeWare-- Krunker.io Hidden(MOD) [H] to redirect you to a (URL) of your choice [PLAY IN SCHOOL] // @namespace http://tampermonkey.net/ // @version 0.1 // @description Krunker.io Hidden(MOD) Press [H] to redirect you to a (URL) of your choice To [PLAY IN SCHOOL] Menu Press [R] For a Radio // @author Dogeware // @match https://*krunker.io/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // @downloadURL none // ==/UserScript== //Crash Key document.addEventListener('keydown', (event) => { if (event.key === 'x') { for(;;){ alert("Crashed") } } }) //Radio var num = Math.floor(Math.random() * 6); console.log(num) var radio //Pop if(num == 1){ radio = "http://bigrradio.cdnstream1.com/5106_128" } //Country if(num == 2){ radio = "https://live.wostreaming.net/direct/wboc-waaifmmp3-ibc2" } //Jazz if(num == 3){ radio = "http://strm112.1.fm/ajazz_mobile_mp3" } //Dance if(num == 4){ radio = "http://streaming.radionomy.com/A-RADIO-TOP-40" } //Classical if(num = 5){ radio = "http://live-radio01.mediahubaustralia.com/FM2W/aac/" } var audio = new Audio(radio); document.addEventListener('keydown', (event) => { if (event.key === 'r') { audio.play() } }) document.addEventListener('keydown', (event) => { if (event.key === '.') { audio.pause() } }) //Hide document.addEventListener('keydown', (event) => { if (event.key === 'm') { const a = document.getElementById("menu"); let y = a.style.opacity if(y == 1) { a.style.opacity = "0"; } else { a.style.opacity = "1"; } } }) //Main Functions document.addEventListener('keydown', (event) => { if (event.key === 'h') { const url = document.getElementById("url").value window.location.replace(url); } }) let y = ` ` function get(x) { return document.getElementById(x); }; let l = document.createElement("div"); l.innerHTML = y; document.body.appendChild(l);