Category Archives: Javascript

Unobtrusive Javascript for detecting whether images are enabled or not

I was wondering if there is a way to detect whether the user has enabled images in his/her browser. After giving it some thought I have come up with a script to do this. Before going into the code I will outline the technique below.

Include a script just before the closing of the body element.
Create […]