03-05-2016, 12:37 PM
|
|
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,955
|
New Users Added!! Get it now!
Quote:
Originally Posted by brassmonkey
anybody else??? leave the names i'll add them  poof they are gone! 
chrome: Tampermonkey - Chrome Web Store
firefox: Greasemonkey :: Add-ons for Firefox
Code:
// ==UserScript==
// @name gfy.com
// @description block threads, posts, etc from certain users
// @include https://gfy.com/*
// @include http://*.gfy.com/*
// @require https://code.jquery.com/jquery-1.7.2.min.js
// @version 1.0
// @grant none
// ==/UserScript==
var hide_users = [
'Juicy D. Links',
'Mr Pheer',
'mineistaken',
'TheSquealer',
'420',
'#23',
'Brian837',
'desertfoxx',
'xXXtesy10',
'L-Pink',
'escorpio',
'Sid70',
'candyflip',
'Mutt',
'rogueteens',
'SilentKnight',
'Maud\'Dib',
'Coup',
'Grapesoda',
'nico-t',
'LatinaCamChat',
'Horatio Caine'
];
$(document).ready(function () {
$('#threadslist tbody tr').each(function (thread_index, thread_value) {
var thread_block = $(this);
var thread_starter = $('span[style="cursor:pointer"]', this).text();
$(hide_users).each(function (hide_index, hide_user) {
if (thread_starter === hide_user) {
// $('#threadslist tbody:last').append("<tr style='opacity: 0.5'>" + thread_block.html() + "</tr>");
thread_block.remove();
}
});
});
$('table[id^="post"]').each(function (post_index, post_value) {
var post_block = $(this);
var post_author = $('a.bigusername', this).text();
$(hide_users).each(function (hide_index, hide_user) {
if (post_author === hide_user) {
post_block.remove();
}
}); //removes entire post of someone on the ignore list.
/** $('div[style^="margin:"]').each(function (post_index, post_value) {
var post_block = $(this);
var post_author = $('strong', this).text();
$(hide_users).each(function (hide_index, hide_user) {
if (post_author === hide_user) {
post_block.remove();
}
});
}); //removes any quotes someone may have made of a person on ignore, even if quotes multiple times but they have to have the name in the quote
**/
}); //end of nested forloops for checking both posts and quotes.
});
gfy trolls #2 hehehe
|
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!!
END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com
|
|
|