JavaScript Info

JavaScript is slow! You may want to change the "time-out" period of the FireFox browser as described below.

You will probably see a warning when you use my calculator. For FireFox the warning is, "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete". Select "continue".

One problem with Firefox is that you may not notice when a second dialog box pops up. You may falsely assume that there is something wrong with the calculator. When you click on the button "continue" the dialog box remains on the screen until the second identical dialog box pops up. There is a brief 0.25 second flash between the two dialog boxes.

You will have to press "continue" dozens of times for a calculation that uses a large number of salts. You can easily change the "time-out" period of FireFox.

At the address bar type "about:config" and hit return. Scroll down to "dom.max_script_run_time default integer 5". Double-click on the number "5" and change it to say "120". This will allow the script to run for 120 seconds or 2 minutes instead of 5 seconds.

Remember to change the "dom.max_script_run_time" back to "5" when you are finished using the calculator. If you forget to do this then sometime in the future you may come across bad JavaScript code and have trouble finding the problem. One solution is to install a second FireFox browser and use this second browser for the Hydroponic Calculator.

I can not help you with MicroSoft Explorer. I am running Linux.

You should see the word "FINISHED" at the bottom of the results page.