8.20 Using noscript to Accommodate Disabled JavaScript

So far, you might have assumed that all users will be able to take advantage of the cool JavaScript that you’ve learned. That assumption is valid for the vast majority of users, but with 3.7 billion users in the world and counting,9 you’ll probably run into a lack of JavaScript support every now and then.

Older browsers don’t support JavaScript, but the bigger roadblock is that some users intentionally disable JavaScript on their browsers. Typically, they do that because they’re concerned that executing JavaScript code can be a security risk. However, most security experts agree that JavaScript is relatively safe. After all, it was/is designed to have limited capabilities. For example, ...

Get Web Programming with HTML5, CSS, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.