gfy ignore list

block threads, posts, etc from certain users

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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);