Sploop.io update script

12/6/2022, 11:57:43 AM

Verze ze dne 06. 12. 2022. Zobrazit nejnovější verzi.

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

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 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        Sploop.io update script
// @namespace   Trash key bind changing
// @match       https://sploop.io/
// @grant       none
// @version     1
// @author      Urban Dubov
// @description 12/6/2022, 11:57:43 AM
// ==/UserScript==
const keybindObj = {
  // When you have changed your key bind, you need to join sploop.io and reload again for change to take affect.
  keybinds: `{"0":"KeyW","1":"KeyS","2":"KeyD","3":"KeyA","4":"KeyF","5":"KeyQ","6":"Space","7":"KeyR","8":"KeyR","9":"KeyX","10":"KeyE","11":"ArrowUp","12":"ArrowRight","13":"ArrowDown","14":"ArrowLeft","15":"Escape","16":"Enter","17":"KeyL","18":"KeyN"}`,
  applicationUpdate: function (id, keybinds) {
    localStorage.removeItem(id); localStorage.removeItem(keybinds); localStorage.setItem(keybinds, this.keybinds);
  },
}, settings = { ...keybindObj }, Settings = settings; Settings.applicationUpdate("_adIds", "keybinds");