I am just wondering if there is any way to programatically change the dom.max_script_run_time value in the Firefox about:config window.
When the default values in my Firefox is 10, I think its too less to run a script running for longer time in my website. On when the value is set to default(i.e.10) my firefox goes Not Responding and I get warning alert message like Warning: Unresponsive Script I just need to set the value to 20 or 30 to avoid any such alerts popping often and let the script to run for longer time.
So I just need to change the dom.max_script_run_time each time the page gets loaded.
I have tested this in other browsers like Firefox, Chrome, Safari, Palemoon and Opera..
I have this problem only in Firefox
Or is there any other way rather than changing the settings and loading the page?
Any solution will be appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…