From the title this may sound like a duplicate question. But what I am asking for is help writing a Greasemonkey script that takes all images containing the word \"thumbnails\"
img tags cant have href, however you can append them into an anchor tag with href attribute:
for(var iImage=0;iImage' + document.images[iImage].outerHTML + ''; } }