unofficial helper for d7vg.com (PSNINE)
当前为
// ==UserScript==
// @name P9IDFilter
// @description unofficial helper for d7vg.com (PSNINE)
// @author jimmyleo
// @namespace com.jimmyleo.psnine.idfilter
// @include http://*d7vg.com/t/*
// @version 0.01
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
// ==/UserScript==
var m_strBoringID = new Array("");
$(document).ready(function(){
switch ( location.host ){
case 'd7vg.com':
FilterID();
break;
};
});
function FilterID(){
$('a').each( function(index){
var strID = $(this).text();
if ( -1 !== $(this).attr('class').indexOf('node') ){
for (var i = 0; i < m_strBoringID.length; i++) {
if ( m_strBoringID[i] == strID ) {
$(this).parents('div.post').hide();
break;
}
}
}
}
);
};