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

man working from home laptop

LightField Studios/

You can enable Javascript on a Mac by going into your browser's Preferences menu.

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."

Screen Shot 2019 09 13 at 4.16.41 PM

William Antonelli/Business Insider

Open your Preferences menu from the menu bar.

4. Toggle over to the "Security" tab.

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

Screen Shot 2019 09 13 at 4.17.03 PM

William Antonelli/Business Insider

Make sure that "Enable Javascript" is checked on.

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:

Insider receives a commission when you buy through our links.