Someone
public text v1 · immutablevar aA = xpath(document, "//a[starts-with(@href, '/mturk/accept')]");
if (aA.snapshotLength > 0)
{
var acceptTest = xpath(document, "//img[@class='answer binary image']|//span[@class='answer text']");
for(var i = 0; i < acceptTest.snapshotLength; i++)
{
var img = acceptTest.snapshotItem(i);
img.parentNode.removeChild(img);
}
}