// ==UserScript== // @name Groups Recruitment Status // @author Hash G. // @description Show current groups recruitment status. If something need an update please keep me informed here : http://hackforums.net/showthread.php?tid=5103326 // @namespace Hash G. - HF // @include *hackforums.net/showgroups.php* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js // @version 0.1 // @grant GM_getValue // @downloadURL https://update.greasyfork.icu/scripts/15355/Groups%20Recruitment%20Status.user.js // @updateURL https://update.greasyfork.icu/scripts/15355/Groups%20Recruitment%20Status.meta.js // ==/UserScript== $(".thead").append("Please keep me informed here about any updates I may have missed."); $("table.tborder table").each(function(i) { if (i == 0 || i == 1 || i == 3 || i == 11 || i == 14) { currentStatus = "Closed"; } else if (i == 2) { currentStatus = "Open - Second thread"; } else if (i == 4) { currentStatus = "Open"; } else if (i == 5 || i == 12) { currentStatus = "Invite only"; } else if (i == 6) { currentStatus = "Open"; } else if (i == 7) { currentStatus = "For sale"; } else if (i == 8) { currentStatus = "Open"; } else if (i == 9) { currentStatus = "Open"; } else if (i == 10) { currentStatus = "Open"; } else if (i == 13) { currentStatus = "Open"; } $(this).find("tr:nth-child(2)").after("