Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Which variable in about:config rules whether the running timeout notification for Javascripts will be popped on screen?

  • 2 trả lời
  • 4 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi icos

more options

Hello there,

Sometimes i run some scripts where it might be happen that they hang up in an endless loop. At default there will pop on screen at a distinct time a message which asks for either aborting the page loading or continuing. There was also a check box (or button) for suppressing further such messages. Unfortunately I had disabled notification by this message, and now I have no way for interrupting a javaScript which is hanging in a endless loop.

Which variable in about:config rules whether the running timeout notification for Javascripts will be popped on screen?

Thanks for responding.

Hello there, Sometimes i run some scripts where it might be happen that they hang up in an endless loop. At default there will pop on screen at a distinct time a message which asks for either aborting the page loading or continuing. There was also a check box (or button) for suppressing further such messages. Unfortunately I had disabled notification by this message, and now I have no way for interrupting a javaScript which is hanging in a endless loop. Which variable in about:config rules whether the running timeout notification for Javascripts will be popped on screen? Thanks for responding.

Giải pháp được chọn

Thanks jscher, It was - as you expected - due variable dom.max_script_run_time which value was 0 instead default 10 in my about:config. I've set this back to a non-zero value, and now all it's working fine :-)

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

I do not see any setting along the lines you're describing in about:config, only the general dom.max_script_run_time setting which is set to 10 seconds by default.

I'm not sure the exception you made for the one site is stored across sessions. Does the problem recur if you exit Firefox and start it up again?

If so, hmm, it would be useful to encounter an examples that doesn't completely hang Firefox to test and explore which file might have that setting.

In the absence of a specific data source, you can flush ALL data about the site using the "Forget about this site" feature. It's pretty extreme: it removes site preferences, cookies, history, and bookmarks for the site. So that probably would be a last resort.

more options

Giải pháp được chọn

Thanks jscher, It was - as you expected - due variable dom.max_script_run_time which value was 0 instead default 10 in my about:config. I've set this back to a non-zero value, and now all it's working fine :-)