What happens if javascript is off?

There's another web out there, a better web hiding just below the surface of the one we surf from our phones and tablets and laptops every day. A web with no ads, no endlessly scrolling pages, and no annoying modal windows begging you to share the site on social media or sign up for a newsletter. The best part is that you don't need a special browser extension or an invite-only app to access this alternate reality. All you need to do is change one little setting in your browser of choice. Just un-tick the checkbox that enables "JavaScript" and away you go, to a simpler, cleaner web.

JavaScript is a programming language that can run inside nearly all modern web browsers. In the early days of the web, the language was used to create simple scripts that did handy things, like check to make sure you filled out all the "required" fields on a form before you hit submit. But as Internet connections got faster and browsers got more sophisticated, JavaScript evolved into a tool for building all sorts of complex web-based apps. Some, like Google Docs, even rival desktop apps in size and functionality. The trouble is, when you visit a website, the JavaScript programs embedded on that site run automatically. It can be difficult to know exactly what some of those scripts actually do, leaving you vulnerable to pranks and malicious behavior.

JavaScript is also a key ingredient of most obnoxious online ad behavior, both visible and below the surface. Many people have turned to ad blockers in recent years, whether out of concern for privacy and security, or simply because they're fed up with advertising. Just last week, no less an authority than NSA whistleblower Edward Snowden said in an interview with The Intercept that you have not only a right but a duty to block ads online, at least so long as publishers and internet service providers are leaving readers open to malvertising and the planting of zombie cookies on their phones.

A small but growing number of people, however, are taking ad-blocking a step further and just disabling JavaScript altogether. Earlier this month I resolved to join their ranks, at least for one week, and see what life was like without JavaScript. By the end of the week, I dreaded going back to the messy modern web.

WIRED

It Just Works

As you can imagine, I ran into some problems. Netflix wouldn't work. Neither would YouTube, at least not without turning on Adobe Flash, which would kind of defeat the point of turning off JavaScript. And of course you can forget using Google Docs without JavaScript. Facebook pointed me at a JavaScript-free version of the site designed for mobile phones when I tried to view the site from my laptop, but when I actually tried to open it on my phone I just got a blank page. Twitter worked, but it lacked the handy character counter, making it hard to know if a tweet was too long or not. I could browse WIRED, but not view or leave comments. Some pages just mysteriously failed to load.

But the most surprising thing is that most things just worked. And in many cases, worked better. Pages loaded nearly instantly, my laptop battery lasted longer, and I could browse the web with fewer distractions---all without the sense of guilt that comes with using an ad blocker. After all, I wasn't actively trying to circumvent anything, the ad networks were simply failing to accomodate my browser settings.

Of course, turning off JavaScript won't completely protect you from tracking. Cookies, probably the biggest privacy concern for most web uses, will still work. Just visiting a site is enough to capture some data, and if the site pulls in content such as fonts and images from outside servers, those servers can potentially collect some data about you as well. And the biggest security problems in recent years have come not from JavaScript, but from plugins such as Adobe Flash and Acrobat, says Daniel Veditz, a principal security engineer at browser maker Mozilla. Still, turning off JavaScript limits your exposure to exploits, and reduces the number of ways that third parties can vacuum up your data.

On the occasion that I absolutely had to view a JavaScript-only site for work, I found it easy enough to just open it up in a separate web browser. Alternately, browsers such as Google Chrome and plugins like NoScript allow you to selectively enable JavaScript for white-listed sites. But in the eyes most serious advocates of Internet freedom, I should never have to run unknown JavaScript. And they're working hard to spread that idea.

Free the Web

The Free Software Foundation doesn't want to do away with JavaScript, but rather wants to give users more transparency and control over the code that runs on their computer. The organization, founded by Richard Stallman, the creator of the early free operating system GNU, has argued for decades now that software makers should release the code required to build their applications so that users can not only inspect it, but also be make changes to the code and redistribute it. For Stallman and company, your freedom to understand and control the code that runs on your computer is more than just a utilitarian concern, but a moral imperative as well.

Naturally, the foundation opposed the use of the proprietary Adobe Flash platform to add animation and interactivity to websites. But as Flash has fallen out of favor, the group has started to turn its sights to JavaScript. Its Free JavaScript campaign, launched in 2013, promotes the idea that websites should only use free and open source JavaScript code or, failing that, at least make their sites functional without it. To help users avoid running proprietary JavaScript, the Free Software Foundation developed LibreJS, a plugin for the Firefox web browser that blocks most, but not all, JavaScript from running. But, perhaps more importantly, the organization works with the engineers behind sites such as Reddit and Greenpeace to help them reduce their dependence on proprietary JavaScript.

What happens when JavaScript is off?

Many Internet Web sites contain JavaScript, a scripting programming language that runs on the web browser to make specific features on the web page functional. If JavaScript has been disabled within your browser, the content or the functionality of the web page can be limited or unavailable.

Do I need JavaScript turned on?

Yes, you probably need JavaScript enabled - in most cases... Every web browser comes with JavaScript enabled by default, and that's probably a pretty good sign that it's ok for most people to just leave it enabled.

Why do people turn JavaScript off?

By disabling the programming language, you ensure that your browser can to read and load pages accurately, especially if you like to visit older websites. Disabled Plug-ins and Cookies: A significant concern for many computer users is that companies can track internet usage and then sell that data to other businesses.

Should I allow JavaScript in Chrome?

Some websites might even stop fetching content from the server when you disable JavaScript. So, it's always best to ensure you enable JavaScript on Chrome or any other browser to get all the user experience that a website offers.