DrKeppo / Dr Keppo's Moderation Script

// ==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;
}