Hales on Javascript-loaded assets
InternetLast Sunday I mentioned I was back on the NoScript train again, in part because so much dynamic content on the modern web is frustrating. Hales of Halestrom.net alerted me to something else I wasn’t aware of:
Some sites do actually send you a page, but hide it visually unless JS is enabled. I wrote a small extension that lets me get past this with a key shortcut.
Alas many websites don’t load their images without javascript. Often the img tags look like this:
<img src=“placeholder.png” actual-resource="/bob/cavernousdogs.jpeg" />
The JS literally switches the tags around as you scroll (to lazy load). I need to write an addon that looks for such cases and fixes them for you, so you don’t have to deal with their giant javascript popups just to read their page.
I can see the point of lazy loading, but it sure flies in the face of accessibility.
While I’m talking about Hales, check out his most recent ThinkPad repair job too. I’m in awe of engineers who can understand hardware at that level and bring something back to life like that. For the sake of the planet as much as anything else, we should be encouraging this.