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 (seventeen years ago) link

tom is working on a new one

chaki, Thursday, 22 February 2007 22:51 (seventeen years ago) link

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

Fluffy Bear, Thursday, 22 February 2007 22:54 (seventeen years ago) link

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 (seventeen years ago) link

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

TOMBOT, Wednesday, 28 February 2007 16:59 (seventeen years ago) link

thank koogs, not me BTW

TOMBOT, Wednesday, 28 February 2007 16:59 (seventeen years ago) link

also available from here

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

TOMBOT, Wednesday, 28 February 2007 17:17 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

xpost. sorry Jaq. 8)

koogs, Wednesday, 28 February 2007 19:45 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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

TOMBOT, Wednesday, 28 February 2007 20:21 (seventeen years ago) link

anyway koogs I got you a plaque
http://farm1.static.flickr.com/164/406038696_67123cb49a_o.png

TOMBOT, Wednesday, 28 February 2007 20:35 (seventeen years ago) link

Awesome, Koogs! I love it.

toby, Wednesday, 28 February 2007 21:02 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

(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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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

(Actually, I think TOMBOT has me blocked!)

J, Friday, 16 March 2007 16:21 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

lolz

HI DERE, Friday, 16 March 2007 16:54 (seventeen years ago) link

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

jessie monster, Friday, 16 March 2007 16:55 (seventeen years ago) link

NOT FUNNY DAN
(alright a little funny)

J, Friday, 16 March 2007 16:59 (seventeen years ago) link

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 (seventeen years ago) link

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

J, Saturday, 17 March 2007 19:19 (seventeen years ago) link

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

W i l l, Saturday, 17 March 2007 19:46 (seventeen years ago) link

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

strgn, Tuesday, 17 April 2007 03:30 (seventeen years ago) link

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 (seventeen years ago) link

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 (seventeen years ago) link

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

strgn, Tuesday, 17 April 2007 22:14 (seventeen years ago) link

four 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 (seventeen years ago) link

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

blueski, Tuesday, 15 May 2007 15:01 (seventeen years ago) link

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

Jaq, Tuesday, 15 May 2007 15:02 (seventeen years ago) link

Revive for Louis Jagger's return.

caek, Wednesday, 16 May 2007 01:16 (seventeen years ago) link

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

blueski, Monday, 21 May 2007 14:19 (seventeen years ago) link

curse them for changing stuff. will look into it.

koogs, Monday, 21 May 2007 14:30 (seventeen years ago) link

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 (seventeen years ago) link

gracias!

blueski, Monday, 21 May 2007 15:06 (seventeen years ago) link

Pretty much. Killfile is for the 1%.

― Fuck the NRA (ulysses), Thursday, August 13, 2020 8:35 PM (eighteen minutes ago)

sounds pretty "let them eat posts" out of context

it's a spicy dinner we're having (Sufjan Grafton), Friday, 14 August 2020 03:59 (four years ago) link

this message board is dying and we should welcome all new voices

Dan S, Friday, 14 August 2020 04:10 (four years ago) link

I gave up on killfile and do my best to practice it mentally these days

sleeve, Friday, 14 August 2020 05:30 (four years ago) link

wait I still have "Nerdstrom Poindexter" killfiled I believe

sleeve, Friday, 14 August 2020 05:31 (four years ago) link

https://github.com/acdean/kilxor

new snatk script - site new answers thread killer

unfortunately, threads are numbered per-board, so you need to supply the boardid as well as the threadid. i also had to take care of the 'updated' threads, which have an extra css attribute. but generally the structure of a thread link is easier than a post so code is shorter.

it *might* work in places other than Site New Answers. let's see...

yes. also works in 'new answers' (ie board view) - go to HTML Playground to test.

koogs, Saturday, 15 August 2020 16:07 (four years ago) link

kilxor

kills threads

DEAD

popeye's arse (Neanderthal), Saturday, 15 August 2020 16:11 (four years ago) link

(added readme / install instructions)

koogs, Saturday, 15 August 2020 16:18 (four years ago) link

thanks, this works well!

Joey Corona (Euler), Saturday, 15 August 2020 16:40 (four years ago) link

six months pass...

how do I killfile someone with a forward-slash in their username? it screws up the coding, is there a code sequence I can encase that slash in?

Überschadenfreude (sleeve), Friday, 19 February 2021 01:39 (three years ago) link

I know you can killfile either display name (the one in parentheses or the one not) so maybe just killfile their other name?

Piven After Midnight (The Yellow Kid), Friday, 19 February 2021 01:46 (three years ago) link

yep, thanks

Überschadenfreude (sleeve), Friday, 19 February 2021 01:53 (three years ago) link

well that narrows down the possibilities

if you meh them, shut up (Neanderthal), Friday, 19 February 2021 01:57 (three years ago) link

oops I don’t know what I did, but always happy to get killfiled again

soaring skrrrtpeggios (jon /via/ chi 2.0), Friday, 19 February 2021 02:34 (three years ago) link

Why does this thread keep getting bumped? I don’t see any messages.

treeship., Friday, 19 February 2021 02:36 (three years ago) link

not you jon

Überschadenfreude (sleeve), Friday, 19 February 2021 03:03 (three years ago) link

Geir/Hongro

if you meh them, shut up (Neanderthal), Friday, 19 February 2021 03:05 (three years ago) link

you, on the other hand, need to post a lot fucking less

Überschadenfreude (sleeve), Friday, 19 February 2021 03:06 (three years ago) link

ok

if you meh them, shut up (Neanderthal), Friday, 19 February 2021 03:07 (three years ago) link

i'll go back to my uber amazing life, later ILX

if you meh them, shut up (Neanderthal), Friday, 19 February 2021 03:08 (three years ago) link

so handy to have Zing to do the bookmarks here for when you need to move past posters who (literally) shit up the entire board and make it unreadable b/c they confuse ILX with their therapist or a blog

Überschadenfreude (sleeve), Friday, 19 February 2021 03:10 (three years ago) link

fuck off and die.

if you meh them, shut up (Neanderthal), Friday, 19 February 2021 03:12 (three years ago) link

god it is so nice to not have to read what you post, I swore Killfile off for a while but some of y'all have been seriously fucking unbearable lately

Überschadenfreude (sleeve), Friday, 19 February 2021 03:14 (three years ago) link

they confuse ILX with their therapist or a blog

This is a shitty thing to say, and you know it.

pomenitul, Friday, 19 February 2021 03:28 (three years ago) link

Truly execrable—

The return of our beloved potatoes (the table is the table), Friday, 19 February 2021 16:11 (three years ago) link

Is he doing advertising?

Stevolende, Friday, 19 February 2021 16:48 (three years ago) link

five months pass...

has anyone encountered any negative side effects from using Greasemonkey? I'm considering setting up my first (and hopefully only) killfile but I'm not sure if it's worth it

aegis philbin (crüt), Saturday, 31 July 2021 13:49 (three years ago) link

It's always worked great for me

Piven After Midnight (The Yellow Kid), Saturday, 31 July 2021 14:13 (three years ago) link

it'll only run scripts that you install and then only on URLs you define within the script.

koogs, Saturday, 31 July 2021 14:22 (three years ago) link

four months pass...

Any chance this works on eg duckduckgo on an android and while im asking the universe for a favour was there ever one configured to killfile posters in specific threads

pandmac (darraghmac), Tuesday, 28 December 2021 17:40 (two years ago) link

^ this is probably a bit niche, in fact this is the first i've heard of it.

but if it supports user javascript then there's a chance it might work.

i'm looking at gihub now to see if i can find details. nope...

koogs, Wednesday, 29 December 2021 13:21 (two years ago) link

> in specific threads

this is probably do-able by modifying the list of urls at the top of the script


// @include KILLFILE 2.0

but you'd probably need a different script for per-thread and per-site blocking, and the most restrictive would apply (ie you couldn't allow someone on a thread if you'd blocked them on the site, but that sounds like the opposite of what you want)

koogs, Wednesday, 29 December 2021 13:28 (two years ago) link

^ um, that unhelpfully converted the url for this thread that i used as an example into a link despite it being in code tags 8(

koogs, Wednesday, 29 December 2021 13:29 (two years ago) link

Thanks for looking, I'll check this out

pandmac (darraghmac), Wednesday, 29 December 2021 14:12 (two years ago) link

Alternatively you can recruit 19 like-minded friends

Khafre's clown (Noodle Vague), Wednesday, 29 December 2021 14:25 (two years ago) link

Not a fan of campaigning id rather say it to em three or four times then bump killfile/fp moderation threads and after that if i just start swearing at em in all caps randomly twasnt out of nowhere, dyou get me

pandmac (darraghmac), Wednesday, 29 December 2021 14:44 (two years ago) link

Beef encounter

Khafre's clown (Noodle Vague), Wednesday, 29 December 2021 14:45 (two years ago) link

Beef or slammin

pandmac (darraghmac), Wednesday, 29 December 2021 14:50 (two years ago) link

Idiot mods cannot read simple instructions and i have been unfairly infracted for the second time on this hellsite (jjjjusten 2012 oh yes i remember)

pandmac (darraghmac), Wednesday, 29 December 2021 19:08 (two years ago) link

Well aged beef

Khafre's clown (Noodle Vague), Wednesday, 29 December 2021 19:09 (two years ago) link

that's a one hot post every ten year average

dark end of the st. maud (sic), Wednesday, 29 December 2021 19:13 (two years ago) link

ten months pass...

this “block poster” thing on zing is tite, makes these fools’ posts look like they keep walking into walls or something

lets hear some blues on those synths (brimstead), Friday, 4 November 2022 22:42 (two years ago) link

one month passes...

I'm ready to killfile my first user after being here for a couple decades now.

how does one go about that for the ilx website?

death generator (lukas), Friday, 9 December 2022 21:42 (one year ago) link

use greasemonkey on firefox or some other thing if you're using chrome...

and use this script, modifying the 'fules' line with the names you (don't) want
http://www.koogy.clara.co.uk/ilx/kilxor.user.js

koogs, Friday, 9 December 2022 22:02 (one year ago) link

well this is awkward ...

jk thank you

death generator (lukas), Friday, 9 December 2022 22:06 (one year ago) link

one month passes...

i'm embarrassed that i can't get this working. it's my second time in two months, and i just want to get it to work. i'm using chrome (like a fool who is always wrong), so i installed the tampermonkey extension. i installed the script from koogs' post just above, and on line 19, i added the username, hit save, hit refresh on everything, etc. it's just not working.

if i was killfiling myself, it would look like this:

var fules = [/karl malone/,/fule2/];

(note, please, fucking god, for the people who hate me, copy and paste this and use it)

i don't think there's anything else i need to do, right? it applies to all of ilx, not a specific thread.

i realize this is tampermonkey specific, but i open up the chrome Extensions menu for it, it looks like this when i'm on ilx:

https://i.imgur.com/OKJKtHE.png

enabled, but also "no script running". is that what's causing the problem?

here's the dashboard view:

https://i.imgur.com/b8BOVUY.png

sorry for this complete waste of your time

Karl Malone, Wednesday, 11 January 2023 23:35 (one year ago) link

I think you need to enclose the name of each of the users in quotes. Otherwise I think JS will think those are variable references to other objects, you want strings here:


// instead of this below
var fules = [/karl malone/,/fule2/];
// do it like this
var fules = ["/karl malone/","/fule2/"];

fpsa, Thursday, 12 January 2023 01:25 (one year ago) link

i'm embarrassed that i can't get this working. it's my second time in two months

KARLFILE 2.0

more crankable (sic), Thursday, 12 January 2023 01:43 (one year ago) link

i haven't checked this, because it's 5am here, but my initial thoughts are that quotes are unnecessary (the example works without quotes) but capital letters are - Karl doesn't match karl.

koogs, Thursday, 12 January 2023 05:05 (one year ago) link

additionally, that looks like an old version of the script, the current one (2018) is here (i think the link on boards page is old and this thread is tl;dr)

https://github.com/acdean/kilxor/blob/master/kilxor.user.js

the images suggest a different problem, perhaps (uri not listed?), but try this first

koogs, Thursday, 12 January 2023 11:59 (one year ago) link

six months pass...

fpsa, koogs - so sorry to have missed your replies! i got it working, thanks! koogs, your suggestion to try the current version seems to have worked. i'm not sure how i ended up on the outdated one before, but with the new script it immediately started working.

thanks!

z_tbd, Friday, 14 July 2023 17:20 (one year ago) link


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