>>7476968Yay~
>>7476983For some reason 4chan X doesn't compare the ID filter if there is no ID (it also doesn't use regex for the ID and image MD5 comparisons because ... reasons I guess), so that script is just a slightly modified version of 4chan X that does. It's `undefined' because all symbols in JavaScript are set to `undefined' if they are not yet bound, and when you convert an unbound variable to a string it becomes "undefined", so posts without IDs have the ID "undefined" now, according to 4chan X.
It's also worth noting that this is applicable to everything, so posts without tripcodes have the tripcode "undefined" and posts without images have the hash "undefined" etc. So to filter all tripcodes for example, you would need something like /(?!undefined)/ now, instead of the usual /.*/.