Skip to content

24 ways to impress your friends

Vote up?

HeroreV

If you’re going to use an image element, why not set the script as the value of an onerror attribute? It doesn’t require an additional HTTP request.

[img src="" onerror="script">