www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Jquery SOB killer

reply "JS" <js.mdnq gmail.com> writes:
This goes out to all the SOB's out there. Thanks jQuery!



// ==UserScript==
//  name       Remove Arrogant Bastard Posts from Dlang Forum
//  namespace  http://dlang.bastards.forum
//  version    0.1
//  description  Dlang bastards suck
//  match      http://forum.dlang.org/*
//  require    http://code.jquery.com/jquery-latest.min.js
// ==/UserScript==

var names = ["Timon Gehr", "Dicebot", "deadalnix"];


$("div.post-author").each(function(i)
	{
      	if ($.inArray($(this).html(), names) >= 0) 
$(this).closest(".post-wrapper").remove();
     });

$("span.forum-postsummary-author").each(function(i)
	{
         if ($.inArray($(this).html(), names) >= 0) 
$(this).closest("tr").remove();
     });


So there should be no excuse for anyone contaminating others 
threads with BS unless they are truly trolling.


If you want me to add you to my list then reply in this post and 
I will do so and you'll never hear from me again. If you can't 
hold your ego and arrogance at the door when responding to my 
posts for help or suggestions, then let me know so I can add you 
to the list. If you don't want to see my posts, use the script 
and put my name in the list. I imagine quite a few replies, just 
simply say "Add me" and I'll do it. No need for anything more.


I wrote the script to get rid of the BS that has been happening 
lately with my replies. I can't stand people that think the world 
revolves around them. Hopefully this little script will bring 
some sanity back to this NG.
Aug 11 2013
next sibling parent reply "JS" <js.mdnq gmail.com> writes:
BTW, I hope that if you want to be added to the ignore list on my
side, you use the script and do the same. I know some will want
everyone to see their irrelevant posts but I won't see it and so
you will never get a response from me and it just clutters up the
NG and distracts from D.
Aug 11 2013
parent "Chris Cain" <clcain uncg.edu> writes:
On Sunday, 11 August 2013 at 19:26:37 UTC, JS wrote:
 BTW, I hope that if you want to be added to the ignore list on 
 my
 side, you use the script and do the same. I know some will want
 everyone to see their irrelevant posts but I won't see it and so
 you will never get a response from me and it just clutters up 
 the
 NG and distracts from D.
Are you serious? The people you have passive aggressively insulted are valuable members of the community who have contributed far more than you probably ever will. I rarely post, but add me to the list because I'm never looking at your posts again. You really need to grow up because being asked to give a use case and being asked to communicate your idea effectively are not good reasons to throw a tantrum and insult others.
Aug 12 2013
prev sibling parent "superdan" <super dan.org> writes:
JS wrote:

 I wrote the script to get rid of the BS that has been happening 
 lately with my replies. I can't stand people that think the 
 world revolves around them. Hopefully this little script will 
 bring some sanity back to this NG.
da irony iz completely lost on u, isnt it?
Aug 11 2013