Sploop.io update script

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

2022-12-06 기준 버전입니다. 최신 버전을 확인하세요.

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