Tested in Chrome, and it doesn't seem to work - I look in the network tab, and all the images are downloaded immediately.
Even though your script does pick up the image tags and remove the src attributes, it is doing so when the load even fires - at which point the browser has already started downloading the images.
I could be wrong, but as far as my understanding, this approach had already been tried, and was already known not to work?
Tested in Chrome, and it doesn't seem to work - I look in the network tab, and all the images are downloaded immediately.
Even though your script does pick up the image tags and remove the
srcattributes, it is doing so when theloadeven fires - at which point the browser has already started downloading the images.I could be wrong, but as far as my understanding, this approach had already been tried, and was already known not to work?