Copy codeThe Code is as follows:
Var unlikes = ['zhang523012313 ', 'yangtonggnet'];
Function delUnlike (filter, expr ){
$ (Filter). filter (function (){
Var href = $ (this). find (expr). attr ('href ');
For (var I = 0; I <unlikes. length; I ++ ){
If (href. indexOf (unlikes [I])> 0) return true;
}
Return false;
}). Remove ();
}
Function clearUnlike (n ){
SetTimeout (function (){
DelUnlike ('. avatar_list li', 'A'); // Avatar
DelUnlike ('# feed_list li: visible', 'A'); // flash list
DelUnlike ('. ing_comments li: visible', 'a: last'); // comment
DelUnlike ('. ing_top_list li', 'A'); // popular flash memory
DelUnlike ('# ing_comment_recent_block div', 'A'); // The latest response.
}, N );
}
Var getComments = GetRecentComments;
Function GetRecentComments (){
GetComments ();
Clearunlike( 1000 );
Clearunlike( 3000 );
}
Run it on the browser's JavaScript Console (such as Firefox's firebug), refresh, and the world is finally clean.
To add a blacklist, you only need to execute unlikes. push ('someone id') in the console.