gfy ignore list

block threads, posts, etc from certain users

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        gfy ignore list
// @description block  threads,  posts, etc from certain users
// @include     http://gfy.com/*
// @include     http://*.gfy.com/*
// @require     http://code.jquery.com/jquery-1.11.3.min.js
// @version     1.1
// @grant       none
// @namespace https://greasyfork.org/users/19347
// ==/UserScript==



function ignore()
   {

var hide_users = ['DVTimes','Rochard','Twitter','Juicy D. Links'];

$(document).ready(function () {
	$('tbody#threadbits_forum_26 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)
			{
				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();
			}
		});
	});
});


}

	
   setInterval(ignore, 0);