Greasy Fork

Lostworld.io Extra Controls

Type the commands in the Info tab in the Lostworld.io chat for results.

目前为 2021-03-26 提交的版本。查看 最新版本

// ==UserScript==
// @name         Lostworld.io Extra Controls
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  Type the commands in the Info tab in the Lostworld.io chat for results.
// @author       Deadly Dotio
// @match        http://*lostworld.io/*
// @grant        none
// ==/UserScript==

(function() {
    "use strict";
    alert("Check the Info Tab on Greasy Fork for the commands.");
})();

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

function addImg()
{
   var maker = document.getElementById('maker');
    var image = document.createElement('img');
    image.src = '/image/path/with/extension.jpg';
    maker.appendChild(image);
}