Greasy Fork

Greasy Fork is available in English.

Lostworld.io Rainbow Hack + Extra Controls

Type the commands in the Info tab in the Lostworld.io chat for results. The wood, stone, food and gold will turn rainbow. Here is the link to my youtube channel: https://www.youtube.com/channel/UCva86StavXgOW1UKBSrlvXA/featured

当前为 2021-05-11 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Lostworld.io Rainbow Hack + Extra Controls
// @namespace    http://tampermonkey.net/
// @version      0.9
// @description  Type the commands in the Info tab in the Lostworld.io chat for results. The wood, stone, food and gold will turn rainbow. Here is the link to my youtube channel: https://www.youtube.com/channel/UCva86StavXgOW1UKBSrlvXA/featured
// @author       Deadly Dotio
// @match        http://*lostworld.io/*
// @match        http://*sploop.io/*
// @grant        none
// ==/UserScript==

function rainbow(id, r = rain){
    var elm = document.getElementById(id);
    elm.style.color = `hsl(${r}, 100%, 50%)`;
}
var rain = 0;
setInterval(function(){
    rainbow('foodDisplay');
    rainbow('woodDisplay');
    rainbow('stoneDisplay');
    rainbow('goldDisplay');
    rainbow('chatInput');
    rainbow('clanDisplay');
    rainbow('createClanName');
    rainbow('createClanButton');
    rainbow('memberDisplay');
    rainbow('leaveClanButton');
    rainbow('loader');
    rain++;
    },);
var css = "h1 { background: blue; }"
var style = document.createElement("style");
style.type = "text/css";
style.appendChild(document.createTextNode(css));
document.head.appendChild(style);

(function() {
    "use strict"
var img = new Image();
img.src = 'path/to/image.jpg';
var holder = document.getElementById('holder');
holder.appendChild(img);
})();

(function() {
    'use strict';

    alert('HERE IS THE SPECIAL COMMAND: /bg ../entity/dragon. The command to get the hat is: bg ../hats/hat_1.');
    })();