How to enable Javascript in Safari on a Mac computer to prevent website errors

  • To enable Javascript on a Mac while using Safari , you'll need to open Safari and navigate to its Security menu.
  • Enabling Javascript can help you view web pages properly — without it, many websites and programs may not load.
  • It should only take a minute or so to enable Javascript in Safari on your Mac .
  • Visit Business Insider's homepage for more stories .

Javascript is an extremely common programming language that's used across the internet. 

And while it isn't necessarily required that you enable it in order to use Safari , it's something that you'll probably want to do. Otherwise, many websites you visit will look strange, or even broken.

Enabling Javascript in your Mac's default browser, Safari , is an easy process. In fact, it should only take you only a minute or so to complete.

Check out the products mentioned in this article:

Macbook pro (from $1,299.99 at best buy), how to enable javascript on a mac.

1. Open Safari (it's the compass icon that, by default, lives in your bottom toolbar).

2. In the top toolbar, select "Safari."

3. In the dropdown menu, click "Preferences."

4. Toggle over to the "Security" tab.

5. Check the box next to "Enable Javascript."

Once you've done that, you can close out the "Preferences" window, and you're good to go. 

If you use more than one browser, you may wish to enable it on those other browsers as well. On Chrome, for example, you'll still go through the "Preferences" menu at the top of the screen. Then type "Javascript" in the search bar and make sure that it says "Allowed" under "Javascript."

Related coverage from  How To Do Everything: Tech :

How to enable adobe flash player on a mac computer using safari, how to block pop-ups on a mac computer's safari browser, and avoid fraudulent websites, how to add websites to your favorites list on a mac's safari browser, making them easily accessible at any moment, how to save and delete webpages on the reading list in your mac computer's safari browser.

Devon Delfino

Insider Inc. receives a commission when you buy through our links.

safari enable javascript support

  • Main content
  • PRO Courses Guides New Tech Help Pro Expert Videos About wikiHow Pro Upgrade Sign In
  • EDIT Edit this Article
  • EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard This Or That Game Forums Popular Categories Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Youth Personal Care School Stuff Dating All Categories Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
  • Browse Articles
  • Learn Something New
  • Quizzes Hot
  • Happiness Hub
  • This Or That Game
  • Train Your Brain
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
  • Computers and Electronics
  • Web Programming

How to Enable JavaScript in a Browser on a Mac

Last Updated: March 29, 2024

Using Safari

Using google chrome, using mozilla firefox.

This article was co-authored by Yaffet Meshesha and by wikiHow staff writer, Nicole Levine, MFA . Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time. This article has been viewed 50,742 times.

This wikiHow teaches you how to enable JavaScript in Safari, Google Chrome, and Mozilla Firefox when you're using a Mac. JavaScript is enabled by default in most modern web browsers or is prompted whenever an application needs to use it, so you shouldn't have to enable it unless you've turned it off.

JavaScript for Mac: Enabling in Your Browser

  • JavaScript is enabled in most Mac web browsers by default, so you shouldn't have to enable it unless you've turned it off.
  • To enable JavaScript in Safari, click the Safari menu, select Preferences or Settings , click Security , and check the box next to "Enable JavaScript."
  • To enable JavaScript in Chrome, click the menu, go to Settings > Advanced > Site Settings > JavaScript , and toggle on the "Allowed" switch.

Things You Should Know

  • Navigate to the "Security" tab of your Safari Preferences to ensure the box next to "Enable JavaScript" is checked.
  • Find "Site Settings" under the "Privacy and Security" tab of your Chrome Settings to enable JavaScript.
  • Firefox enables JavaScript by default. If it is disabled, you may have an extension that is blocking it.

Step 1 Open Safari on your Mac.

  • If you're using a browser plugin that blocks JavaScript from running on one or more websites, you'll usually need to disable it. You can do so on the Preferences panel by clicking Websites and de-selecting the plugin name. [2] X Research source

Step 1 Open Chrome on your Mac.

  • JavaScript is allowed by default in Chrome. You shouldn't have to manually enable it unless you've turned it off.

Step 2 Click the  ⁝ menu.

  • If you see the word "Allowed" right below "JavaScript," JavaScript is already enabled.
  • If JavaScript isn't working despite being enabled, it's likely due to a security extension you've installed on Chrome. Click the ⁝ menu, click More Tools , and then Extensions . Toggle off any extensions you don't want to use.

Step 7 Slide the

  • Chrome lets you manually disable JavaScript by website. If you manually disabled JavaScript on a certain site and want to re-enable it, you can do so under the "Blocked" header. Click the ⁝ menu next to the site's name and click Remove .

Step 1 Open Firefox on your Mac.

  • JavaScript is enabled by default in Firefox. There's no way to disable it in your general Firefox options, so it's unlikely that you'll need to turn it on unless you've manually edited the about:config page.
  • If you've installed a privacy extension like Ghostery or NoScript that disables JavaScript, you may need to disable it to use JavaScript. Click the ≡ menu, click Add-ons , and then click Disable next to the extension. [3] X Research source

Step 2 Type about:config into the address bar and press ⏎ Return.

  • The results appear in three columns: Preference Name , Status , Type , and Value .

Step 5 Find the value of the

  • If the Value is set to True : JavaScript is already enabled and there's no need to make any changes. Do not continue with this method.
  • If the Value is set to False : Continue with this method.

Step 6 Right-click the False value.

Expert Q&A

You might also like.

Enable JavaScript

  • ↑ https://support.apple.com/guide/safari/security-ibrw1074/mac
  • ↑ https://support.apple.com/guide/safari/disable-block-a-safari-plug-sfri27594/mac
  • ↑ https://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-pages

About This Article

Yaffet Meshesha

1. Open Safari. 2. Click the Safari menu. 3. Click Preferences . 4. Click Security . 5. Check the "Enable JavaScript" box. Did this summary help you? Yes No

  • Send fan mail to authors

Is this article up to date?

safari enable javascript support

Featured Articles

 Make Your Android Screen Black and White or Grayscale

Trending Articles

12 Believable Excuses for Accidental Calls

Watch Articles

Prevent Nail Polish Stains

  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info

wikiHow Tech Help Pro:

Level up your tech skills and stay ahead of the curve

safari enable javascript support

IMAGES

  1. Enable JavaScript on Safari on iPhone & iPad

    safari enable javascript support

  2. How to enable JavaScript in Safari?

    safari enable javascript support

  3. How to Fix Safari Not Working on iPhone in iOS 17

    safari enable javascript support

  4. Enable JavaScript on Safari

    safari enable javascript support

  5. YouTube Not Working on Safari [Solved]

    safari enable javascript support

  6. How to Enable JavaScript on a MacOS?

    safari enable javascript support

VIDEO

  1. HOW TO ENABLE PUSH NOTIFICATIONS IN SAFARI

  2. How To Enable Safari Experimental Features on iPhone

  3. How To Enable Javascript On iPhone (2024)

  4. How to Enable Javascript on Mac (How to Turn On Javascript for Safari on Macbook in 2023)

  5. How To Disable JavaScript in Safari on a Mac

  6. How To Enable Safari Experimental Features On iPhone