![Download Download](https://blog.ashryan.io/content/images/2014/10/JavaScript-Automation-on-Mac-OS-X-10.10-Yosemite.png)
Whether you are using Mozilla’s Firefox or Apple’s Safari Web browser on your favorite Mac laptop or computer, you may enable or allow JavaScript in order to permit dynamic WebPages to show accurately. JavaScript mainly makes websites more interactive to the peoples surfing the webpage. Nevertheless, enabling JavaScript has some disadvantages. It may open a door for the viruses to insert into your laptop/computer. In both web browsers, the JavaScript standard settings are organized in the favorite’s window. Normally, you may be either a standard or administrator user on your laptop or computer to enable or allow JavaScript.
The harder but really advanced way is using JXA (Javascript for Automation). It’s a programming language based on Javascript. It took place of AppleScript since macOS Yosemite. You can automate almost anything from clicking on the buttons with a specific order to opening a group of apps when.
![Javascript Javascript](http://cdn.osxdaily.com/wp-content/uploads/2011/11/safari-develop-menu.jpg)
Steps for Safari.