Greasemonkey Wiz Filter For The Active Content Page


aho

Member
Joined
May 16, 2009
Messages
183
Website
kaioa.com
The active page:
http://www.gp32x.de/board/index.php?app=core&module=search&do=active

The new content page (also works there):
http://www.gp32x.de/board/index.php?app=core&module=search&do=new_posts&search_filter_app[forums]=1

As you can see it's pretty messy and there is no way to filter. And since we also don't have an RSS feed for the Wiz forums... I decided to do it this way.

Code:
// ==UserScript==
// @name           wiz filter
// @namespace      http://www.gp32x.de/board/index.php?/user/18376-aho/needs-a-namespace
// @description    hides everything except wiz stuff
// @require        http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
// @include        http://www.gp32x.de/board/index.php?*do=active*
// @include        http://www.gp32x.de/board/index.php?*do=new_posts*
// ==/UserScript==

jQuery('#forum_table tr').css('display','none')
jQuery('#forum_table a[href*="wiz"]').closest('tr').css('display','table-row')

The script basically just hides all rows in that table and then it unhides those which contain a link which contains the substring "wiz".
 
Last edited by a moderator:
Back
Top