javascript security practices are so retarded

just remember to always use .innerHTML += instead of .append() to prevent some cors errors

Reply to this note

Please Login to reply.

Discussion

you cannot just

img = document.createElement("img")

img.src = src

document.body.append(img)

no

in order to avoid cors errors, remember to:

document.body.innerHTML += img.outerHTML