If you have manually disabled JavaScript, follow the steps below to re-enable it: JavaScript is enabled for all websites by default in Safari.
This means that all webpages with a web address beginning (such as allow JavaScript.
Enabling JavaScript and cookies in your web browser