powerline.io impossible version

Powerline.io, but it's impossible...

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

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

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

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

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

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

    // ==UserScript==
    // @name         powerline.io impossible version
    // @namespace    http://tampermonkey.net/
    // @version      IMPOSSIBLE
    // @description  Powerline.io, but it's impossible...
    // @author       shed_modz_
    // @match        powerline.io
    // @require      http://code.jquery.com/jquery-3.4.1.min.js
    // @grant        none
    // ==/UserScript==
    
    document.addEventListener("keydown", mod, false);
    
    function mod(i) {
      if (i.keyCode == "38") {//up arrow
        window.alert("IMPOSSIBLE~");
      }
      if (i.keyCode == "39") {//right arrow
        window.alert("IMPOSSIBLE~");
      }
      if (i.keyCode == "37") {//left arrow
        window.alert("IMPOSSIBLE~");
      }
      if (i.keyCode == "40") {
        window.alert("IMPOSSIBLE~");
      }
            if (i.keyCode == "87") {//up arrow
        window.alert("IMPOSSIBLE~");
      }
      if (i.keyCode == "65") {//right arrow
        window.alert("IMPOSSIBLE~");
      }
      if (i.keyCode == "83") {//left arrow
        window.alert("IMPOSSIBLE~");
      }
      if (i.keyCode == "68") {
        window.alert("IMPOSSIBLE~");
      }
    }