Enable JavaScript in Safari

This guide will step you through the process of getting JavaScript enabled in Safari on macOS.

Get JavaScript

  1. Click the "Safari" menu

    Make sure you have a Safari window open and active; you will see the "Safari" menu in the top left of your screen. Click it and it will expand to show Safari specific options.

    The location of the Safari menu - in the top left of the screen

  2. Click the "Preferences" menu item

    Now that you have expanded the Safari menu, you will see the Preferences item - click on it.

    The expanded Safari menu, showing the the Preferences item

    The Safari Preferences screen will now appear.

  3. Click on the "Security" tab

    The Safari Preferences screen has a number of sections, indicated by the various options along the top of the screen (General/Tabs/AutoFill etc). Click the Security item to see security related options.

    The Security tab is sixth from the left

  4. Click the "Enable JavaScript" checkbox

    If the checkbox has a tick symbol it means JavaScript is already enabled; if the checkbox has no tick and is empty, JavaScript will not be enabled in Safari.

    Screenshot showing that JavaScript is currently disabled

  5. Close the "Preferences" window

    Now that you have successfully enabled JavaScript, simply click the red dot in the top left of the window to close the "Preferences" window and resume web browsing. The next time you load a webpage, your new setting will take effect.

  6. JavaScript is now enabled

    Congratulations, you just enabled JavaScript. Click here to confirm that JavaScript is now enabled.

Looking for guides to enable JavaScript in other web browsers?

Here are some guides for other web browsers like Chrome or Firefox.

Get a VPN to help stay safe online