Fatapaca/Dollchan-Extension-Tools — comment on commit 48be3e5dd8b16fcdd11967e6685a51fd010907b4
File:  line 0
By SthephanShinkufag:

If u mean 4chon.net, then it rly has, but node are some different.
Function will be look like

function getImgName(post) {
var name = $x('.//p[@class="fileinfo"]/span', post);
return name ? name.textContent : '';
}