JavaScript is a popular programming language used by most websites.
On an iPhone, JavaScript should be turned on by default, but if it was disabled at some point, many websites will appear broken in the Safari browser.
To enable JavaScript, go into the Settings app on your iPhone, click “Safari,” then “Advanced,” and swipe the JavaScript button to the right so it appears green.
Here’s a full breakdown with pictures.
- Open the Settings app on your iPhone.
- Scroll down until you see “Safari,” and tap it.
To enable JavaScript, start the Settings app and go to Safari.
- At the bottom of the page, tap “Advanced.”
The JavaScript control is located in the Advanced tab.
- On the Advanced page, turn JavaScript on by swiping the button to the right.
Make sure JavaScript is toggled on and appears green.