KILLFILE 2.0

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (614 of them)

first draft. blanks divs rather than deleting them, board numbers are strings. will tidy up when i have time.

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

koogs, Thursday, 7 June 2007 17:13 (sixteen years ago) link

ok, unwanted DIVs now set to not display.

also, choice of a blacklist or a whitelist, set WANT or DO_NOT_WANT as appropriate. see examples in code.

koogs, Friday, 8 June 2007 13:43 (sixteen years ago) link

divvies

blueski, Friday, 8 June 2007 13:46 (sixteen years ago) link

Oh my god how could I have been posting here for six fucking years and never have ever clicked on "site new answers"? I AM SO DUM

J, Friday, 8 June 2007 15:35 (sixteen years ago) link

It was just added in Keith's last upgrade, you're ok!

TOMBOT, Friday, 8 June 2007 15:36 (sixteen years ago) link

koogs you are awesome and heroic ty

shralp a dik ilm never i look at u again

jhøshea, Friday, 8 June 2007 16:58 (sixteen years ago) link

curiously it seems that the killfile doesn't work on poll threads (i see blocked user posts on them)

blueski, Wednesday, 13 June 2007 12:51 (sixteen years ago) link

probably because the dom tree has another level of crap in it for those.

it's currently looking for "//div/p/*[@class='name']" - divs at any level containing a paragraph containg something that has class=name attribute. i guess it needs to be vaguer. will look into it. am currently trying to find the sizes of 44000 jpegs though for our massive launch tomorrow. so it probably won't be today.

koogs, Wednesday, 13 June 2007 13:14 (sixteen years ago) link

hey no problem just thought i would mention it, just surprised i hadn't noticed it before!

blueski, Wednesday, 13 June 2007 13:15 (sixteen years ago) link

nope, looks ok on mine (disney thread)

the opening question is still shown though, as it's a big form.

koogs, Wednesday, 13 June 2007 13:19 (sixteen years ago) link

there should be a poll about who is the most killfiled user and then they should be banned. that would be fun.

g-kit, Wednesday, 13 June 2007 13:41 (sixteen years ago) link

And then the next round the next day, and the next the next, and so on until only Estela is left.

Mark C, Wednesday, 13 June 2007 14:27 (sixteen years ago) link

now you're just being silly

g-kit, Wednesday, 13 June 2007 14:28 (sixteen years ago) link

D@ano, sorry to not be able to catch up in London last weekend - I spent most of it spewing.

Keith, Wednesday, 13 June 2007 14:31 (sixteen years ago) link

we have that effect on visitors

blueski, Wednesday, 13 June 2007 14:48 (sixteen years ago) link

:}

g-kit, Wednesday, 13 June 2007 14:55 (sixteen years ago) link

yeh sorry it is working on poll threads but on one i'm seeing some posts blocked and others by same user on same thread are not. odd. no matter.

blueski, Wednesday, 13 June 2007 16:36 (sixteen years ago) link

can you email me the details sieve. ta.

koogs, Wednesday, 13 June 2007 17:18 (sixteen years ago) link

have done

blueski, Wednesday, 13 June 2007 17:26 (sixteen years ago) link

ok, slight update uploaded - "if (poster != null)"...

was breaking on polls due to the auto bump post from the system being in slightly different format to normal posts.

koogs, Wednesday, 13 June 2007 19:52 (sixteen years ago) link

one month passes...

the site new answers killfile is sometimes working, sometimes not.
is anybody else noticing this?

El Tomboto, Friday, 20 July 2007 14:57 (sixteen years ago) link

url has no properties on line 43.

saw something similar with the other code - works ok until you hit a page with poll results in it - poll results are missing one of the things the code looks for so it falls over.

koogs, Friday, 20 July 2007 15:02 (sixteen years ago) link

is the NOT WORKSAFE entry - it's in an extra <span>. will fix it this weekend.

koogs, Friday, 20 July 2007 15:29 (sixteen years ago) link

thanks dude! you rule.

El Tomboto, Friday, 20 July 2007 15:33 (sixteen years ago) link

now handles NOT WORK SAFE warnings on site new answers page (7am sunday morning). haven't been able to test it against live site because there are currently no warnings on site new answers but it works against the copy i took so...

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

koogs, Monday, 23 July 2007 15:25 (sixteen years ago) link

I stuck one in for you to test... Top of HTML playground if you have to bump it by the time you see this.

Keith, Monday, 23 July 2007 16:45 (sixteen years ago) link

cheers. was a little bug in it - my debugging limit of 20 messages was still in there (oops) but other than that it's ok. updated now.

baseball and noizeboard values only in there as an example of usage 8)

koogs, Monday, 23 July 2007 17:05 (sixteen years ago) link

Is there a reason why threads from ModReqFor are showing up even if my specified WANT list does not include it?

Leee, Monday, 23 July 2007 22:37 (sixteen years ago) link

is that bang up to date Lee (i just fixed something similar when there was a NOT WORK SAFE thing in the page)

this morning the problem i'm having is not being able to find SiteNewAnswers. has something changed?

koogs, Tuesday, 24 July 2007 08:23 (sixteen years ago) link

wasn't logged in. schoolboy error.

koogs, Tuesday, 24 July 2007 08:24 (sixteen years ago) link

I installed the one linked in this post, which I reinstalled and re-edited. Still get ModReqFor. Not an urgent deal, though.

Leee, Tuesday, 24 July 2007 16:08 (sixteen years ago) link

the "LOCKED" causes problems.

koogs, Tuesday, 24 July 2007 17:13 (sixteen years ago) link

it does "var thisLink = answers.snapshotItem(i).firstChild;" to get the a href for the board id, gets confused when it doesn't get a url. should be a bit more robust.

koogs, Tuesday, 24 July 2007 17:14 (sixteen years ago) link

four weeks pass...

A weird thing I just noticed: the killfile works fine on normal threads but not on poll threads?

Jaq, Wednesday, 22 August 2007 23:57 (sixteen years ago) link

oic blueski reported same upthread a bit.

Jaq, Wednesday, 22 August 2007 23:59 (sixteen years ago) link

four weeks pass...

Hmmm, this doesn't seem to be working for me. (I'm assuming that the killfile erases everything the killfiled user has posted and not just what he or she posts after you've installed the killfile.)

jaymc, Wednesday, 19 September 2007 22:53 (sixteen years ago) link

Subtle!

milo z, Wednesday, 19 September 2007 22:54 (sixteen years ago) link

it doesn't work on JW's username because of the chinese tomato at the end
(it's my fault really)

El Tomboto, Wednesday, 19 September 2007 22:54 (sixteen years ago) link

Sorry, I'm not trying to create drama here, I'm really trying to minimize it.

jaymc, Wednesday, 19 September 2007 22:55 (sixteen years ago) link

you can block posts by entering only part of a username tho (koogs version at least)

blueski, Wednesday, 19 September 2007 22:56 (sixteen years ago) link

i have wrong version at home because i get this:
invalid flag after regular expression
[Break on this error] undefined
kilxor.user.js (line 18)

but it works fine on my work pc

blueski, Wednesday, 19 September 2007 22:57 (sixteen years ago) link

So no one knows what I'm doing wrong? I followed all of Jaq's steps, and the only thing I did to the script was change [/fule1/,/fule2/] to [/user's name/].

jaymc, Wednesday, 19 September 2007 23:04 (sixteen years ago) link

try the version where you can block partial usernames?

the schef (adam schefter ha ha), Wednesday, 19 September 2007 23:06 (sixteen years ago) link

make sure the monkey is brown and not gray

El Tomboto, Wednesday, 19 September 2007 23:09 (sixteen years ago) link

Yep, that was the problem, Tom. Thanks!

jaymc, Wednesday, 19 September 2007 23:10 (sixteen years ago) link

>> make sure the monkey is brown and not gray
> Yep, that was the problem, Tom. Thanks!

lol

you can block even odd characters (someone has a name featuring only two chinese characters, another has a crescent and star), you just need to know how to specify them in the javascript. involves hexadecimal to decimal conversions, or vice versa. oh, is in examples in script, use unicode - \uABCD (but view source shows characters as decimal entities - 〹 hence the conversion)

koogs, Thursday, 20 September 2007 09:56 (sixteen years ago) link

a pox on the bbcode convertor. &#12345;

koogs, Thursday, 20 September 2007 09:57 (sixteen years ago) link

nine months pass...

Bless this. :D

David R., Wednesday, 2 July 2008 00:32 (fifteen years ago) link

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

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

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

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


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