d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > General Archive > How To Actually Block Nekosama Threads
Prev13456720Next
Add Reply New Topic
Member
Posts: 7,143
Joined: Apr 29 2013
Gold: 16.37
Oct 23 2015 10:25pm
This is so hot, ty men
Member
Posts: 62,870
Joined: Aug 2 2009
Gold: 1,189.90
Oct 23 2015 10:27pm
np people

I'm going to bed though. I'll track topic and maybe look at it tomorrow
Member
Posts: 30,815
Joined: Mar 12 2008
Gold: 252.29
Oct 23 2015 10:56pm
Quote (MoreTimeToKill @ Oct 24 2015 03:55am)
i dont know why it wont work for me


Cuz I'm too awesome.
Member
Posts: 51,221
Joined: Jun 3 2010
Gold: 0.69
Warn: 50%
Oct 23 2015 10:57pm
my freedoms of speech tho
Member
Posts: 16,191
Joined: Feb 10 2012
Gold: 45.00
Oct 23 2015 11:00pm
lol no more neko no more
Member
Posts: 62,870
Joined: Aug 2 2009
Gold: 1,189.90
Oct 23 2015 11: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';
}
}


Really fucked up the script, this fixes a major bug. Please use this version.
Member
Posts: 30,815
Joined: Mar 12 2008
Gold: 252.29
Oct 23 2015 11:09pm
Quote (AnimeFTW @ Oct 24 2015 05:01am)
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';
}
}


Really fucked up the script, this fixes a major bug. Please use this version.


LOL'D

I CAN'T SEE MY OWN THREADS WAT HABE I DONE?!?!!?!!
Member
Posts: 27,440
Joined: Nov 6 2006
Gold: 2,742.92
Oct 24 2015 12:18am
Quote (AnimeFTW @ Oct 24 2015 01:01am)
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';
}
}


Really fucked up the script, this fixes a major bug. Please use this version.



Vouch in my pouch
Member
Posts: 48,978
Joined: Jun 19 2006
Gold: 21.93
Oct 24 2015 02:02am
James is the hero we need, and the hero we deserve.
Member
Posts: 34,758
Joined: Oct 13 2009
Gold: 336.01
Oct 24 2015 02:15am
THX

That guy is really challenged and not in a good way.
Go Back To General Archive Topic List
Prev13456720Next
Add Reply New Topic