Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Recuit
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://www.torn.com/userlist.php?*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var listObserver = new MutationObserver(function(mutations) {
- mutations.forEach(function(mutation) {
- //$("li #icon9").parent().parent().parent().parent().parent().hide() //hides already in a faction (shows leader and co)
- $("li #icon27").parent().parent().parent().parent().parent().hide() //hides company
- $("li #icon73").parent().parent().parent().parent().parent().hide() //hides company
- /*
- $("li #icon6").parent().parent().parent().parent().parent().hide() //males
- $("li #icon7").parent().parent().parent().parent().parent().hide() //females
- $("li #icon3").parent().parent().parent().parent().parent().show() //
- $("li #icon4").parent().parent().parent().parent().parent().show()
- */
- });
- });
- listObserver.observe($('.user-info-list-wrap')[0], { attributes: true, childList: true, characterData: true });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement