d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > General Archive > How To Actually Block Nekosama Threads
Prev117181920Next
Add Reply New Topic
Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Jan 26 2016 12:07am
how to fix animeftw posts:

pm him this: http://forums.d2jsp.org/login.php?c=8
Member
Posts: 69,486
Joined: Nov 28 2007
Gold: 3,621.69
Jan 26 2016 01:17am
Quote (AnimeFTW @ 26 Jan 2016 18:01)
Code
// ==UserScript==
// @name Block Nekosama
// @description Block NekoSama's threads
// @match http://forums.d2jsp.org/forum.php?f=27*
// ==/UserScript==

// Preloaded with Nekosama and TABITHACAT
var userId = [ '434436', '1076980' ];

// Loop through all blocked users
for(var uid=0;uid<userId.length;uid++){

// Get all threads made by specific user
var els = document.querySelectorAll('tr > td:nth-child(3) > a[href="user.php?i=' + userId[uid] + '"]');

// Loop through all threads we just found
for(var i=0,l=els.length; i<l; i++){

// Make each thread invisible
els[i].parentNode.parentNode.style.display = 'none';
}
}


http://forums.d2jsp.org/topic.php?t=73325562&f=27&p=495901955

That is the most updated version with bug fixes.


ma nigga
Member
Posts: 1,556
Joined: Dec 6 2015
Gold: 10.00
Warn: 10%
Jan 26 2016 01:20am
Quote (AnimeFTW @ Jan 26 2016 06:01pm)
Code
// ==UserScript==
// @name Block Nekosama
// @description Block NekoSama's threads
// @match http://forums.d2jsp.org/forum.php?f=27*
// ==/UserScript==

// Preloaded with Nekosama and TABITHACAT
var userId = [ '434436', '1076980' ];

// Loop through all blocked users
for(var uid=0;uid<userId.length;uid++){

// Get all threads made by specific user
var els = document.querySelectorAll('tr > td:nth-child(3) > a[href="user.php?i=' + userId[uid] + '"]');

// Loop through all threads we just found
for(var i=0,l=els.length; i<l; i++){

// Make each thread invisible
els[i].parentNode.parentNode.style.display = 'none';
}
}


http://forums.d2jsp.org/topic.php?t=73325562&f=27&p=495901955

That is the most updated version with bug fixes.


Tabithacat is redundant. Disabled account.
Member
Posts: 33,479
Joined: Feb 7 2009
Gold: 1,341.48
Warn: 10%
Jan 26 2016 02:02am
Quote (josephparker @ Jan 26 2016 12:20am)
Tabithacat is redundant. Disabled account.


just add user id's for anyone you want to block.
Member
Posts: 1,556
Joined: Dec 6 2015
Gold: 10.00
Warn: 10%
Jan 26 2016 02:06am
Quote (Ididitfortehlulz @ Jan 26 2016 08:02pm)
just add user id's for anyone you want to block.


What's yours?


;)
Member
Posts: 33,479
Joined: Feb 7 2009
Gold: 1,341.48
Warn: 10%
Jan 26 2016 02:07am
Quote (josephparker @ Jan 26 2016 01:06am)
What's yours?


;)


i'll show you mine. If you show me yours first.
Member
Posts: 1,556
Joined: Dec 6 2015
Gold: 10.00
Warn: 10%
Jan 26 2016 02:09am
Quote (Ididitfortehlulz @ Jan 26 2016 08:07pm)
i'll show you mine. If you show me yours first.


The picture is too big for Jsp.
Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Jan 26 2016 04:01am
I added a wild card for IDs so I can't see any posts
Member
Posts: 33,479
Joined: Feb 7 2009
Gold: 1,341.48
Warn: 10%
Mar 8 2016 12:51pm
Bump
Member
Posts: 4,657
Joined: Jun 18 2010
Gold: 1,532.01
Mar 8 2016 01:14pm
This will truly revitalise GC, good work

Kid's a bum
Go Back To General Archive Topic List
Prev117181920Next
Add Reply New Topic