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 (seventeen years ago) link
divvies
― blueski, Friday, 8 June 2007 13:46 (seventeen 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 (seventeen years ago) link
It was just added in Keith's last upgrade, you're ok!
― TOMBOT, Friday, 8 June 2007 15:36 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen years ago) link
now you're just being silly
― g-kit, Wednesday, 13 June 2007 14:28 (seventeen 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 (seventeen years ago) link
we have that effect on visitors
― blueski, Wednesday, 13 June 2007 14:48 (seventeen years ago) link
:}
― g-kit, Wednesday, 13 June 2007 14:55 (seventeen 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 (seventeen years ago) link
can you email me the details sieve. ta.
― koogs, Wednesday, 13 June 2007 17:18 (seventeen years ago) link
have done
― blueski, Wednesday, 13 June 2007 17:26 (seventeen 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 (seventeen years ago) link
the site new answers killfile is sometimes working, sometimes not. is anybody else noticing this?
― El Tomboto, Friday, 20 July 2007 14:57 (seventeen 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 (seventeen 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 (seventeen years ago) link
thanks dude! you rule.
― El Tomboto, Friday, 20 July 2007 15:33 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen 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 (seventeen years ago) link
wasn't logged in. schoolboy error.
― koogs, Tuesday, 24 July 2007 08:24 (seventeen 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 (seventeen years ago) link
the "LOCKED" causes problems.
― koogs, Tuesday, 24 July 2007 17:13 (seventeen 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 (seventeen years ago) link
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 (seventeen years ago) link
oic blueski reported same upthread a bit.
― Jaq, Wednesday, 22 August 2007 23:59 (seventeen years ago) link
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. 〹
― koogs, Thursday, 20 September 2007 09:57 (sixteen years ago) link
Bless this. :D
― David R., Wednesday, 2 July 2008 00:32 (sixteen years ago) link
I always wonder if (some) people have killfiled me. :-(
― stevienixed, Wednesday, 2 July 2008 00:37 (sixteen years ago) link
i never would, even if i was a killfiler, which i'm not.
― estela, Wednesday, 2 July 2008 00:47 (sixteen years ago) link
First!
― jeff, Wednesday, 2 July 2008 00:54 (sixteen years ago) link