If you’ve been experiencing a problem browsing websites, then it might be because Javascript in Safari is disabled. Some people will adjust settings on their browser when they are troubleshooting or experiencing problems, and disabling Javascript in Safari is something you might do. But much like you were able to turn it off, you can also enable Javascript on iPhone so that the websites you visit will behave correctly.
Javascript is a type of code that is often used by websites for many of the more complex interactions or content that you see on a Web page. But Javascript can also be used maliciously or ineffectively, which can lead to a sub-par browsing experience. If you are having problems with a website, you might have previously followed steps in a troubleshooting guide that instructed you to turn off Javascript in your Safari browser.
However, turning off Javascript can make some Web pages unusable, so you may find later that you need to turn it back on. Our tutorial below will help you to find the Javascript setting for the Safari browser on your iPhone 7 so that you can enable it and make your current browsing activities a little less frustrating.
How to Enable Javascript on iPhone 7
- Open Settings.
- Choose Safari.
- Scroll down and select Advanced.
- Enable Javascript.
Our article continues below with additional information on how to enable Javascript in Safari on an iPhone, including pictures for these steps.
How to Turn On Javascript in the Safari Browser in iOS 10 (Guide with Pictures)
The steps in this guide were performed on an iPhone 7 Plus, in iOS 10.3.1. These are specifically for enabling Javascript in the default Safari browser on your device. If you are using a different browser, such as Chrome or Firefox, then you would need to adjust the Javascript settings for either of those browsers separately.
Step 1: Open the Settings menu.
If you can’t find the Settings icon you can always swipe down on your screen to open the Spotlight Search and use it to open the Safari app.

Step 2: Scroll down and choose the Safari option.

Step 3: Scroll to the bottom of the menu and touch the Advanced item.

Step 4: Tap the button to the right of Javascript to enable it.

You will know that Javascript is enabled when there is green shading around the button. I have enabled Javascript in Safari in the image above.
More Information on How to Enable Javascript in Safari
- As mentioned earlier, this is only going to enable Javascript in the iPhone’s default Safari Web browser. If you use another browser on your iPhone and need to enable Javascript there, then you will need to open the Settings menu for that browser instead.
- By choosing to enable Javascript in Safari you should find that most websites will work correctly, especially if they weren’t functioning properly before. If you are still experiencing problems in Safari then you might need to check that you have enabled cookies as well.
Are you running out of space on your iPhone, making it difficult to install new apps, or download songs and movies? Learn about some ways to clear up storage on your iPhone by deleting some of the old apps and data that you aren’t using anymore, or no longer need.
Additional Sources
Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.
After receiving his Bachelor’s and Master’s degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.
His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.
Disclaimer: Most of the pages on the internet include affiliate links, including some on this site.