Get the latest tech news

Everyone Has JavaScript, Right?


- Your user requests your web app - Has the page loaded yet? - “All your users are non-JS while they're downloading your JS” — Jake Archibald - Did the HTTP request for the JavaScript succeed? - If they're on a train and their net connection goes away before your JavaScript loads, then there's no JavaScript. - Did the HTTP request for the JavaScript complete? - How many times have you had a mobile browser hang forever loading a page and then load it instantly when you refresh? - Does the corporate firewall block JavaScript? - Because loads of them still do.

“All your users are non-JS while they're downloading your JS” — Jake Archibald Did the HTTP request for the JavaScript succeed? Sky accidentally block jQuery, Comcast insert ads into your script, and if you've never experienced this before, drive to an airport and use their wifi. Do they have addons or plugins installed which inject script or alter the DOM in ways you didn't anticipate?

Get the Android app

Or read this on Hacker News

Read more on:

Photo of javascript

javascript

Related news:

News photo

Browser Security Bugs That Aren't: JavaScript in PDF

News photo

Show HN: A JavaScript library for data visualization in both SVG and Canvas

News photo

Show HN: Next-token prediction in JavaScript – build fast LLMs from scratch