To enable JavaScript in Firefox, follow the below given steps:
Go to the address bar, type “about:config” and press Enter:

Now, accept the warning and click I accept the risk.
A list of advanced settings will be visible now. Type javascript in the search box to reach the javascript settings:

After reaching, you can see javascript: enabled option as false. You need to toggle it to True. For this, right click on javascript: enabled and click Toggle:

After Toggle, you can see the True is visible i.e. JavaScript is enabled successfully.
