I'm just wondering if there is a way to programmatically change the value of dom.max_script_run_time in the Firefox about: config window.
When the default values ββin my Firefox are 10, I think its too small to run the script for a longer time on my website. When the value is set to the default value (i.e. .10), my firefox goes Not responding , and I get a warning message, for example Warning: Do not respond Script I just need to set the value to 20 or 30 to avoid such warnings, and so that the script runs for a longer time.
So I just need to change dom.max_script_run_time every time the page loads.
I tested this in other browsers like Firefox, Chrome, Safari, Palemoon and Opera.
I have this problem only in Firefox
Or is there another way, not changing the settings and loading the page?
Any solution would be appreciated.
source share