NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name emoCode // @namespace http://tampermonkey.net/ // @version 1 // @description Buscar emos // @author BuBBa // @copyright 2020, tobytomas (https://openuserjs.org/users/tobytomas) // @license MIT // @match https://universowap.mobi/web/* // @grant none // ==/UserScript== (function() { 'use strict'; var salto = document.createElement('br'); var buscar = document.createElement('input'); buscar.setAttribute('Id',1); var boton = document.createElement('button'); boton.innerText = 'BUSCAR EMO'; var result = document.createElement('img'); var padre = document.getElementsByClassName('header')[0]; padre.appendChild(buscar); padre.appendChild(boton); padre.appendChild(salto); padre.appendChild(result); boton.onclick = function() {result.src = `../smilies/${document.getElementById(1).value}.gif`} ; })();