How to Disable JavaScript in Safari for the iPhone and iPod Touch

Thank JavaScript for website interactivity

Javascript settings on iphone

 Screenshot

Javascript is the high-level programming language behind the interactive features of dynamic websites. When you fill out an online form or enjoy animations, you can thank JavaScript. It stands with HTTP and CSS as an essential programming language for the web. However, many consider it a flawed language because of its history of security vulnerabilities.

Users of iPhone, iPod touch devices, and iPads who want to disable JavaScript in the Safari browser, whether for security or development purposes, can do so easily.

Information in this article applies to iPhones, iPod touch devices, and iPads running iOS 12, iOS 11, and iOS 10.

Disable JavaScript on iPhone, iPod Touch, and iPad

To disable JavaScript on your iOS device, open the Settings app on your iPhone, iPod touch, or iPad and then:

  1. Scroll down the Setting screen and tap Safari.

  2. Scroll to the bottom of the Safari settings screen and tap Advanced.

  3. On the Advanced screen, move the slider next to JavaScript to the Off/white position.

    The iOS Settings path to disable JavaScript on iPhone and iPod touch

Many websites don't render or function as expected while JavaScript is disabled. If you run into this problem, return to the Safari settings and activate JavaScript by moving the slider back to the On/green position.

Uses of JavaScript

Javascript is responsible for how a web page responds to input from the viewer. When you click an element on a web page and something happens — a special effect or a survey, for example — JavaScript is responsible. Some of the uses of JavaScript include:

  • Confirmation boxes
  • Slide-in call-to-actions
  • Security password creation
  • Check-off forms
  • Interactive games
  • Special effects
  • Animations
  • Web applications
  • Presentations as websites
  • Providing feedback to web developer

Why Disable JavaScript?

Most people who disable JavaScript do it for security reasons. For regular at-home browsers, javascript isn't usually a problem, but it is often disabled on secure remote servers or internal networks as a precaution.