User:Prince(ss) Platinum/chat.js

function showPopup { $('body').append(' Mass-kick   Recent Changes           </ul>    '); $('body').append('<div style="height: 100%; width: 100%; z-index: 2000000001; opacity: 0.65; display: block;" data-opacity="0.65" class="blackout"> '); } function cancelApplet { $('#masskicker').remove; $('.blackout').remove; } updateRC setInterval(function {updateRC}, 30000); function updateRC { "use strict"; $.getJSON(wgServer + '/api.php?action=query&list=recentchanges&rclimit=10&rctype=edit&rcprop=user|timestamp|title&format=json', function(data) {       var rc = data.query.recentchanges;        $('#ch1').html('<a href="/wiki/' + rc[0].title + '">' + rc[0].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[0].user + '">' + rc[0].user + '</a>');        $('#ch2').html('<a href="/wiki/' + rc[1].title + '">' + rc[1].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[1].user + '">' + rc[1].user + '</a>');        $('#ch3').html('<a href="/wiki/' + rc[2].title + '">' + rc[2].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[2].user + '">' + rc[2].user + '</a>');        $('#ch4').html('<a href="/wiki/' + rc[3].title + '">' + rc[3].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[3].user + '">' + rc[3].user + '</a>');        $('#ch5').html('<a href="/wiki/' + rc[4].title + '">' + rc[4].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[4].user + '">' + rc[4].user + '</a>'); $('#ch6').html('<a href="/wiki/' + rc[5].title + '">' + rc[5].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[5].user + '">' + rc[5].user + '</a>'); $('#ch7').html('<a href="/wiki/' + rc[6].title + '">' + rc[6].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[6].user + '">' + rc[6].user + '</a>'); $('#ch8').html('<a href="/wiki/' + rc[7].title + '">' + rc[7].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[7].user + '">' + rc[7].user + '</a>'); $('#ch9').html('<a href="/wiki/' + rc[8].title + '">' + rc[8].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[8].user + '">' + rc[8].user + '</a>'); $('#ch10').html('<a href="/wiki/' + rc[9].title + '">' + rc[9].title + '</a> made by: <a href="/wiki/Special:Contributions/' + rc[9].user + '">' + rc[9].user + '</a>'); }); }

$('<a id= "multiKickerButton" class="wikia-button" href="javascript:showPopup" style="position:absolute; right:55px; top:22px;">Multikick</a>').appendTo('.Write');