Lexicon Shout Mod

Lexicon Shout Box Plugin that adds shout editing and deleting features

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Lexicon Shout Mod
// @namespace   http://lexicongta.com/
// @description Lexicon Shout Box Plugin that adds shout editing and deleting features
// @include     http://lexicongta.com/dashboard
// @version     1.00
// @grant       none
// ==/UserScript==
$(document).ready(function(){idle_time_limit = 2147483647;var t=document.getElementsByClassName("row");sbAddButton='<a id="JimErase" class="btn btn-info pull-right" style="margin-right: 5px">Erase</a>',sbAddButton+='<a id="EditShouts" class="btn btn-info pull-right" style="margin-right: 5px">Edit</a>',sbAddButton+='<a id="SpamMessage" class="btn btn-info pull-right" style="margin-right: 5px">Spam</a>',t[2].innerHTML+=sbAddButton}),$("#JimErase").click(function(){$("[ondblclick]").each(function(){var t=new XMLHttpRequest;t.open("GET","chat/engine.php?do=delete&id="+$(this).attr("id"),!0),t.send()})}),$("#EditShouts").click(function(){var t=prompt("Enter new message!","");null!=t&&$("[ondblclick]").each(function(){r=new XMLHttpRequest,r.open("GET","chat/engine.php?do=edit&id="+$(this).attr("id")+"&message="+t,!0),r.send()})}),$("#SpamMessage").click(function(){var t=new XMLHttpRequest,e=prompt("Enter a message to spam!",""),n=prompt("Enter the amount of times too spam",""),a=2100,s=0;leSBSpam=setInterval(function(){return s++,s>n?!1:void t.open("GET","chat/engine.php?do=send&message="+encodeURIComponent(e),!0),t.send()},a)});