NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Dr Keppo's Moderation Script // @namespace http://tampermonkey.net/ // @version 0.1 // @description This helps moderating by filling the text fields automatically. // @author Dr Keppo // @match No match. // @grant none // ==/UserScript== var deleteReason = document.getElementById('delete-reason'); var getSummonerNameFromTextId = document.getElementById('delete'); var getSummonerNameFromText = "You are about to delete content by RainbowDDerpy (EUNE)"; var removeTextFromString = "You are about to delete content by (EUNE)"; var getSummonerName = getSummonerNameFromText.replace(removeTextFromString, ""); function fillTextField () { deleteReason.value = "Üdvözlet, " + removeTextFromString; }