KILLFILE 2.0

Message Bookmarked
Bookmark Removed
From the sandbox thread: KILLFILE: HOW TO

This doesn't seem to be working for http://www.ilxor.com:8080/ILX/. Does it have anything to do with how usernames are set up?

Somebody was bound to ask, so here it is.

Fluffy Bear, Thursday, 22 February 2007 22:50 (3 years ago) Permalink

tom is working on a new one

chaki, Thursday, 22 February 2007 22:51 (3 years ago) Permalink

Then I will wait patiently. Thanks magic box smarties, one and all.

Fluffy Bear, Thursday, 22 February 2007 22:54 (3 years ago) Permalink

pft I suck at this btw. the webmail link in between the div class and the actual username is killing me right now. If I can figure that out it should work

TOMBOT, Thursday, 22 February 2007 22:57 (3 years ago) Permalink

http://home.gwu.edu/~tombot/kilxor2.user.js

TOMBOT, Wednesday, 28 February 2007 16:59 (3 years ago) Permalink

thank koogs, not me BTW

TOMBOT, Wednesday, 28 February 2007 16:59 (3 years ago) Permalink

also available from here

http://userscripts.org/scripts/show/7717

TOMBOT, Wednesday, 28 February 2007 17:17 (3 years ago) Permalink

Thanks! One slight issue - is it just me or does this leave absolutely no evidence of excision, not even a line?

toby, Wednesday, 28 February 2007 18:14 (3 years ago) Permalink

yeah none whatsoever. I am thinking about working on it. I honestly haven't put anybody in my own script yet.

TOMBOT, Wednesday, 28 February 2007 18:17 (3 years ago) Permalink

i think i prefer there to be no evidence at all. as long as there's a choice of either/or then cool. i haven't tried this on nu-ilx yet tho. cheers to ever-useful koogs (A&J + other bits on their way to you as soon as the DVD-Rs i ordered arrive btw).

blueski, Wednesday, 28 February 2007 18:19 (3 years ago) Permalink

i did try stealing a bit of andrew's code for inserting a message but gave up after 5 minutes of not getting it to work.

yes, no lines because now the lines are inside the messages rather than between them.

(cheers stevem)

koogs, Wednesday, 28 February 2007 19:10 (3 years ago) Permalink

I am closing in on replacing killed posts with text/hr. But it will probably take me until tonight to finish at the rate I'm going.

Jaq, Wednesday, 28 February 2007 19:43 (3 years ago) Permalink

ok, replace the code in the last for loop with

var thisLink = posts.snapshotItem(i);
div = thisLink.parentNode;
div.innerHTML = "<div>Post by " + jerk + " deleted<br /><hr/></div>";

and that should do it.

koogs, Wednesday, 28 February 2007 19:44 (3 years ago) Permalink

xpost. sorry Jaq. 8)

koogs, Wednesday, 28 February 2007 19:45 (3 years ago) Permalink

Oh excellent koogs, that rox - you saved me hours of poking at stuff :) I was only getting the names to replace instead of the whole post.

Jaq, Wednesday, 28 February 2007 20:06 (3 years ago) Permalink

Hahaha! Oh, that works a treat :)

I changed the text to be div.innerHTML = "<div>Inanity by the poxy fule" + jerk + " deleted for all time.<br /><hr/></div>";

Jaq, Wednesday, 28 February 2007 20:10 (3 years ago) Permalink

I'm going to make mine the boxcar no no no speech bubble I think

TOMBOT, Wednesday, 28 February 2007 20:21 (3 years ago) Permalink

anyway koogs I got you a plaque

TOMBOT, Wednesday, 28 February 2007 20:35 (3 years ago) Permalink

Awesome, Koogs! I love it.

toby, Wednesday, 28 February 2007 21:02 (3 years ago) Permalink

I'm going to make mine the boxcar no no no speech bubble I think

A fantastic idea. I have been too lazy to set up the new killfile so far though.

Nicole, Wednesday, 28 February 2007 22:23 (3 years ago) Permalink

i had some trouble earlier today because i had 8080 in the url and that's changed.

anyway, place this snippet before the for loop for a nice little reminder in top right that some messages were blocked

if (posts.snapshotLength != 0) {
var logo = document.createElement("div");
logo.innerHTML = '<div style="position:fixed; top:0; right:0; left=auto; z-index:10; background-color:red; color:white; font-size:10pt; font-weight:bold;">Some Posts Were Blocked</div>';
document.body.insertBefore(logo, document.body.firstChild);
}

(jaq, got email, thanks. most of credit goes to will for the original, i only fixed it for ilx2 (my first greasemonkey script as it happens))

koogs, Saturday, 3 March 2007 15:01 (3 years ago) Permalink

I'm dying to know who is killing whom. I challenge you to create a little PacManesque critter that gobbles up the posts of those you deem killable.

Maria :D, Saturday, 3 March 2007 15:09 (3 years ago) Permalink

another one, this one makes the Skipping x messages a lot bigger and redder:

// ==UserScript==
// @name Skipping
// @namespace
// @description A Bigger Skipping Message
// @include http://www.ilxor.com/*
// ==/UserScript==

skipping = document.evaluate("//div/form/p[starts-with(a, 'Skipping ')]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);

// get paragraph, set colours
p = skipping.snapshotItem(0)
p.style.textAlign = 'center';
p.style.backgroundColor = 'red';
p.style.fontWeight = 'bolder';
p.style.fontStyle = 'normal';
p.style.fontSize = '15px';

koogs, Saturday, 3 March 2007 16:17 (3 years ago) Permalink

Thanks, Tom. Thanks Koogs!

"<div>BLAH BLAH BLAH " + jerk + " I CAN'T HEAR YOU<br /><hr/></div>";

Fluffy Bear, Saturday, 3 March 2007 17:12 (3 years ago) Permalink

most of credit goes to will for the original

cheers koogs, I still owe you a pint. And Will, you too wherever you are. I worked out how to convert the img src links to a href, but then realized if I open a thread with ton of pics it's still pulling them down so takes forever to load etc. A worthwhile exercise, I guess, but pointless.

Jaq, Saturday, 3 March 2007 17:26 (3 years ago) Permalink

(oddly those last two changes don't work together - the first creates a div that seems to break the xpath in the second. maybe if i add the div at the end...)

yes, next thing was going to be modifying the 'Skipping...' message link to point to the exact message within the expanded page, save people having to find it again. unfortunately that needed some server code changes but, apparently, they were done before i even mentioned it. that keith may look dozy but he's actually quite on the ball. 8)

koogs, Sunday, 4 March 2007 10:26 (3 years ago) Permalink

Potential killfile quirk alert - I don't seem to be able to block anyone whose username contains non-ANSI characters.

J, Friday, 16 March 2007 15:55 (3 years ago) Permalink

i did wonder, only yesterday, if that would cause problems. i guess the problem is getting the characters into the javascript.

possible way around this is to turn the test into a 'starts-with' or a 'contains' so you can find parts of words without having to match the entire thing, for instance, and this is only an example, first thing that popped into my head, don't know why, 'ppppp dude'.

(of course, making it a substring makes it hard to then block anyone called, i don't know, 'J' 8)

koogs, Friday, 16 March 2007 16:15 (3 years ago) Permalink

Now who would want to block lil' ol' me?

(Actually, I think TOMBOT has me blocked!)

J, Friday, 16 March 2007 16:21 (3 years ago) Permalink

I have the name you used to spam rotten.com stuff when you were mad about the existence of a bummerz thread blocked on my work computer!

jessie monster, Friday, 16 March 2007 16:26 (3 years ago) Permalink

now that you keep registering new names I kind of feel like I am being challenged to block them all! like a fun game.

jessie monster, Friday, 16 March 2007 16:28 (3 years ago) Permalink

That wasn't me! I have no idea how to do any of that stuff! I'm J McChump, and I've been posting here for years!

J, Friday, 16 March 2007 16:31 (3 years ago) Permalink

lolz

HI DERE, Friday, 16 March 2007 16:54 (3 years ago) Permalink

I am seeing the wonderful possibilities for killfile faux pas lolz.

jessie monster, Friday, 16 March 2007 16:55 (3 years ago) Permalink

NOT FUNNY DAN
(alright a little funny)

J, Friday, 16 March 2007 16:59 (3 years ago) Permalink

I want my own thread dedicated to times I put my foot really far down my throat.

jessie monster, Friday, 16 March 2007 17:00 (3 years ago) Permalink

BTW Koogs, forgot to tell you that Skipping script is GREBT.

J, Saturday, 17 March 2007 19:19 (3 years ago) Permalink

awesome, koogs, thx for making it work nu-style

W i l l, Saturday, 17 March 2007 19:46 (3 years ago) Permalink

1 month passes...
i am dum, how do i shot?

strgn, Tuesday, 17 April 2007 03:30 (3 years ago) Permalink

was thinking of redoing this just last night. gimme a couple of hours...

in the meantime you need firefox and its greasemonkey extension thing...

koogs, Tuesday, 17 April 2007 08:20 (3 years ago) Permalink

ok, new version:

http://www.koogy.clara.co.uk/ilx/kilxor.user.js

this now uses regular expressions so you can match against just a bit of the username - change the values on line 15.

koogs, Tuesday, 17 April 2007 09:52 (3 years ago) Permalink

awesome!!!!!!!!!! thank you thank you thank you

strgn, Tuesday, 17 April 2007 22:14 (3 years ago) Permalink

4 weeks pass...
if you killfile someone, do you killfile the titles of threads they start in addition to posts they make or only their posts?

gabbneb, Tuesday, 15 May 2007 14:58 (3 years ago) Permalink

only their posts (inc the opening post of a thread they start)

blueski, Tuesday, 15 May 2007 15:01 (3 years ago) Permalink

[xpost] Only their posts. The script could be changed to kill the thread titles too, I think.

Jaq, Tuesday, 15 May 2007 15:02 (3 years ago) Permalink

Revive for Louis Jagger's return.

caek, Wednesday, 16 May 2007 01:16 (3 years ago) Permalink

o hai this doesn't seem to work on v2.2. a little help?

blueski, Monday, 21 May 2007 14:19 (3 years ago) Permalink

curse them for changing stuff. will look into it.

koogs, Monday, 21 May 2007 14:30 (3 years ago) Permalink

done. there's a new P around the status line which means everything is one level deeper, that was the problem.

http://www.koogy.clara.co.uk/ilx/kilxor.user.js

koogs, Monday, 21 May 2007 14:40 (3 years ago) Permalink

gracias!

blueski, Monday, 21 May 2007 15:06 (3 years ago) Permalink

I always wonder if (some) people have killfiled me. :-(

stevienixed, Wednesday, 2 July 2008 00:37 (2 years ago) Permalink

i never would, even if i was a killfiler, which i'm not.

estela, Wednesday, 2 July 2008 00:47 (2 years ago) Permalink

First!

jeff, Wednesday, 2 July 2008 00:54 (2 years ago) Permalink

This thread makes me wonder out loud, is nathalie still posting here?

Pleasant Plains, Wednesday, 2 July 2008 01:28 (2 years ago) Permalink

(Gosh, that joke gets funnier to me every time I make it.)

Pleasant Plains, Wednesday, 2 July 2008 03:58 (2 years ago) Permalink

i think fluffy bear (RIP) killfiled hisself :(

BLACK BEYONCE, Wednesday, 2 July 2008 05:27 (2 years ago) Permalink

10 months pass...

being able to bookmark posts by killfiled users would be really useful imho.

, Friday, 22 May 2009 21:15 (1 year ago) Permalink

How would you know? (can someone ask the previous poster how he would know?)

StanM, Friday, 22 May 2009 21:29 (1 year ago) Permalink

2 months pass...

Link at the top is dead - is there still a way I can do this?

Nhex, Sunday, 9 August 2009 00:38 (1 year ago) Permalink

Follow the steps in this post:
KILLFILE 2.0

With the Greasemonkey script here:

http://www.koogy.clara.co.uk/ilx/boardblacklist.user.js

handmaid of the demon bean (Jaq), Sunday, 9 August 2009 00:59 (1 year ago) Permalink

That script seems to blacklist boards but not people (forgive my stupidity if I'm totally messing this up), I'm a little confused - there's no "var fules" in it anywhere.

Nhex, Sunday, 9 August 2009 01:26 (1 year ago) Permalink

sorry, wrong script linked - I haven't got it installed right now. Let me see if I can find it again.

handmaid of the demon bean (Jaq), Sunday, 9 August 2009 01:46 (1 year ago) Permalink

I think it's this one: http://www.koogy.clara.co.uk/ilx/kilxor.user.js

handmaid of the demon bean (Jaq), Sunday, 9 August 2009 01:49 (1 year ago) Permalink

We should come up with one that lets you killfile certain boards' thread from showing up in Site New Answers! I could read everything else and leave out ILM without having to click anything besides refresh!!

― TOMBOT, Wednesday, June 6, 2007 1:50 PM

^ hi dere solution to nuking iltmi from new answers

( ´_ゝ˙) (Dr. Phil), Sunday, 9 August 2009 02:02 (1 year ago) Permalink

I Want to Change the Boards Shown on Site New Answers...

permanent response lopp (harbl), Sunday, 9 August 2009 02:04 (1 year ago) Permalink

Doh... I can't get this to work, I'm baffled. Greasemonkey and the script are installed and supposedly enabled, I put in the username in the var fules array (the ones in the parentheses, right, like

var fules = [/Jaq/]; 
) and nothing happens... anyone using this currently?

Nhex, Sunday, 9 August 2009 02:26 (1 year ago) Permalink

Doesn't seem to work anymore. I had it installed, just not enabled. Enabled it and nothing.

svend, Sunday, 9 August 2009 02:42 (1 year ago) Permalink

the killfile code is very delicate in terms of document structure and every time keith adds something new it tends to break. will look into it and post a new version (and also try and make it less delicate)

koogs, Sunday, 9 August 2009 17:34 (1 year ago) Permalink

The class was still 'name', but I didn't look any closer at it. Thanks koogs.

handmaid of the demon bean (Jaq), Sunday, 9 August 2009 17:38 (1 year ago) Permalink

looks like the a tag is no longer {a whatever}name{/a} but {a whatever} name{/a}...

koogs, Sunday, 9 August 2009 17:47 (1 year ago) Permalink

ok, killxor script updated. http://www.koogy.clara.co.uk/ilx/kilxor.user.js

check you have the right version (20090809) and you'll need to copy over your fules list

the extra space wasn't a problem for me as i was using non-anchored substrings but if anyone is using ^ in their fules then they may need to add a space. the problem was an extra level or two of divs in the messages. have now changed the code so it finds the name then moves outwards from the link until it finds the 'message' div. which should be more robust.

board script next...

koogs, Sunday, 9 August 2009 18:17 (1 year ago) Permalink

arg, don't donwload just yet, that version still has debug in it.

koogs, Sunday, 9 August 2009 18:19 (1 year ago) Permalink

ok, fixed

koogs, Sunday, 9 August 2009 18:22 (1 year ago) Permalink

I can't imagine hating someone so much that I couldn't just skip over their posts. :-(

ENBB, Sunday, 9 August 2009 18:22 (1 year ago) Permalink

fwiw, I use it when I'm feeling especially tetchy and explosive and I notice certain styles are starting to set me off. It has nothing to do with hating anyone.

handmaid of the demon bean (Jaq), Sunday, 9 August 2009 18:38 (1 year ago) Permalink

i can imagine it but it might make threads not make sense and i would miss important zings and opportunities to feel self-righteous

permanent response lopp (harbl), Sunday, 9 August 2009 18:41 (1 year ago) Permalink

x-post - that makes more sense

ENBB, Sunday, 9 August 2009 18:42 (1 year ago) Permalink

miss important zings and opportunities to feel self-righteous

^^^ generally why I turn it off again. Also, it makes threads load slower at times.

handmaid of the demon bean (Jaq), Sunday, 9 August 2009 18:46 (1 year ago) Permalink

site new answers update (and possibly a rename)
http://www.koogy.clara.net/ilx/sitenewanswerskillzor.user.js

yeah, both these have to compare all threads or messages against all your blacklisted items so they could drag on long threads if you hate lots of people.

koogs, Sunday, 9 August 2009 19:06 (1 year ago) Permalink

(it would help if i hadn't used koogs as a test fule and i could actually see my own posts...)

koogs, Sunday, 9 August 2009 19:07 (1 year ago) Permalink

;_; I don't get what I'm doing wrong. It's a one line change to make it work right? Other GM scripts work fine, so it's not that...

Nhex, Sunday, 9 August 2009 22:50 (1 year ago) Permalink

i think people using killfile should say who they are blocking

pfunkboy (Herman G. Neuname), Sunday, 9 August 2009 22:56 (1 year ago) Permalink

It works now. I just changed koogs to your nick and I got

Post by Nhex deleted

svend, Sunday, 9 August 2009 22:58 (1 year ago) Permalink

If I want to block svend and koogs, you just change the line to look like this, right?

var fules = [/svend/,/koogs/];

Nhex, Sunday, 9 August 2009 23:05 (1 year ago) Permalink

They can't see you, lol

StanM, Sunday, 9 August 2009 23:08 (1 year ago) Permalink

Yeah that looks right. Make sure that you are using the one he made today. kilxor_20090809

svend, Sunday, 9 August 2009 23:09 (1 year ago) Permalink

Oh, okay, I think I was clicking the wrong script link (a-durrrr). Thanks so very much dudes, this will improve my ILX experience a ton.

Nhex, Sunday, 9 August 2009 23:45 (1 year ago) Permalink

there's a preference screen that does what the Board Blocker script (sitenewanswerskillzor.user.js) does. i'd use that instead.

koogs, Monday, 10 August 2009 09:31 (1 year ago) Permalink

3 months pass...

this shit still works, fyi, u sb babies

bnw, Monday, 30 November 2009 16:41 (9 months ago) Permalink

2 weeks pass...

what he said

fictional, homosexual, Baltimore hoodlum (forksclovetofu), Wednesday, 16 December 2009 22:29 (8 months ago) Permalink

yeah it is totally great.

Nhex, Wednesday, 16 December 2009 22:31 (8 months ago) Permalink

who u got killfiled

cozwn, Wednesday, 16 December 2009 22:31 (8 months ago) Permalink

*shh*

Nhex, Wednesday, 16 December 2009 22:35 (8 months ago) Permalink

1 month passes...

hey, does this work for opera?

tza nicholas ii (The Reverend), Monday, 25 January 2010 08:20 (7 months ago) Permalink

it uses the firefox greasemonkey plugin for applying user javascript after the page has loaded. don't know whether opera uses that.

koogs, Monday, 25 January 2010 09:57 (7 months ago) Permalink

apparently so

http://my.opera.com/Contrid/blog/2007/02/11/how-to-greasemonkey-in-opera

but don't expect support when it doesn't work 8)

koogs, Monday, 25 January 2010 10:35 (7 months ago) Permalink

1 month passes...

penis, penis, penis =

unknown or illegal user (d00\r@g), Saturday, 13 March 2010 01:32 (5 months ago) Permalink

excuse me

unknown or illegal user (d00\r@g), Saturday, 13 March 2010 01:33 (5 months ago) Permalink

2 months pass...

no news, no changes, just putting this here to save people having to wade through posts

http://www.koogy.clara.net/ilx/sitenewanswerskillzor.user.js

koogs, Thursday, 10 June 2010 17:11 (2 months ago) Permalink

that was the wrong one:

http://www.koogy.clara.co.uk/ilx/kilxor.user.js

koogs, Thursday, 10 June 2010 17:13 (2 months ago) Permalink


You must be logged in to post. Please either login here, or if you are not registered, you may register here.