NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Moderator Helper
// @author GonDragon
// @namespace http://twinoid.com/user/350369
// @description Resalta los temas que el moderador debe moderar
// @match http://twinoid.com/es/tid/*
// @version 0.000
// @grant GM_addStyle
// ==/UserScript==
var nick = document.getElementsByClassName('tid_name')[1].innerHTML;
/* Funcion para abrir y cerrar la lista de elementos editables*/
function open_options(){
windows.alert('debug');
}
//Dar estilo a un boton
GM_addStyle("thread_list { text-shadow: 1px 1px 1px black; border-radius: 5px 5px 0px 0px; font-size: 21px; position: absolute; top: 98px; left: 40px; color: #BFC1C6; background: #3b4151; border: 1px solid #4e5162; height: 25px; border-bottom-style: hidden; width: 170px; text-align: center; font-family: Helvetica, sans-serif, Arial; }");
GM_addStyle("thread_list:hover { color: #FFFFFF; background: #ff6600; border: 1px solid #feb500; border-bottom-style: hidden; cursor: pointer; }");
//crear y aniadir el boton.
var input = document.createElement("thread_list");
var input_text = document.createTextNode("Abrir Opciones");
input.type = "button";
input.onclick = open_options
input.appendChild(input_text);
document.body.appendChild(input);