Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Game Jam #1 Participant Forum Identifier
- // @namespace http://matthewammann.com
- // @description Identifies Game Jam #1 participants in the forums.
- // @version 1.01
- // @date 06/10/16
- // @author adv0catus & Ruudiluca
- // @include *://www.kongregate.com/forums/*
- // ==/UserScript==
- // Original script by arcaneCoder and updated by musicdemon. Repurposed by adv0catus and Ruudiluca.
- /* Created by arcaneCoder - www.kongregate.com/accounts/arcaneCoder
- Leave these headers intact if you modify this script.*/
- var pattn = new RegExp ( "-row$" );
- var elem = document.getElementsByTagName ( "tr" );
- var nameSave = new Array ( elem.length );
- var table;
- function update ()
- {
- var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACySURBVChTYzRNn/6fgUTABKVJAixQGgyi7XUY8iNtoDwGhldv3jNcvP+WYdHaEww3P3yBiqLZtPPgHYYb9z+AcW7rFoblu68yWGhJM1Sn+0BVQACKpjcMPxi+fP8OxicfP2FYevAKw/aTVxk0FAUY1AV4oKqI8NPzlz/AtACvAJgGAaID4sPnD1AWDk08nJxg53jqCjNEumqD/YgcECjxhB56n79+Zzhx7SlG6NErchkYAAnESBrRqfoJAAAAAElFTkSuQmCC";
- MainLoop: for ( var i=0; i < elem.length; i++)
- {
- var obj = elem[i];
- if ( pattn.test ( obj.id ) )
- {
- if ( !table ) table = obj.parentNode;
- var postID = obj.id.split ("-")[1];
- var username = obj.getElementsByTagName("img")[0].title;
- nameSave[i] = username;
- //List of the usernames that are Game Jam #1 participants in alphabetical order:
- var arr = ["0rava", "1ashl", "aaronsantiago", "AIexT", "agusmao", "Aldrinsalazar", "aptriangle", "ArsenG1", "ArtsFox", "BrainyBeard", "Cal010", "cathelper", "chesster415", "ClausGahrn", "CrazyDinoGames", "CreativeTurtle", "DaBarr", "DeanFarrington", "DonM83", "duolon", "Dynamo21", "egyszervolt", "Fleecemaster", "gblim", "GeanieGames", "HeynongMan", "Holy2334", "JamsRamen", "jeagle747", "jcourt", "JTtheLlama", "JurgisT", "Kasmilus", "Meerkatjie", "moraleszez", "MossyStump", "Ohbye", "Palups", "PlayerOfRPG", "PxlPaladin", "Pio6", "say892", "SCLT", "Shay9999", "silentviper", "simpleicarus", "takosman3", "TheIjzm", "ThePenguin11", "Toa_of_Pi", "totoyan", "uzzbuzz", "Vhalkar7", "yvolcano4"];
- if(arr.indexOf(username) > -1) {
- //alert("Game Jam #1 participant found!");
- obj.cells[0].innerHTML += "<p style='font-size: 0.4em;' > </p><p style='font-size: 0.4em;' > </p><p style='font-size: 0.7em; color: #666;'><img src='" + img + "' />Game Jam #1</p>";
- }
- }
- }
- }
- update();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement