We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Stop inactive tabs from throttling down/ timing out

  • 2 个回答
  • 1 人有此问题
  • 15 次查看
  • 最后回复者为 mikeyfila

more options

Hi I run a program called nodered on a raspberry pi in docker. I use a browser to reach the user interface via lan. If that tab sits in the background too long (~5 min) the connection with the server resets and resets the gui.

I lose all current debugging information and any unsaved changes. Saving the page will stop the lost progress but not the current debugging. In other words just saving the page each time will only solve 1/2 of the problem.

Is there anyway to keep a background page active so it doesn't reset after a few minutes?

https://nodered.org/

Hi I run a program called nodered on a raspberry pi in docker. I use a browser to reach the user interface via lan. If that tab sits in the background too long (~5 min) the connection with the server resets and resets the gui. I lose all current debugging information and any unsaved changes. Saving the page will stop the lost progress but not the current debugging. In other words just saving the page each time will only solve 1/2 of the problem. Is there anyway to keep a background page active so it doesn't reset after a few minutes? https://nodered.org/

由mikeyfila于修改

所有回复 (2)

more options

You can try to adjust some keepalive prefs on the about:config page to see if that works.

more options

Hi thanks for the response. I should have mentioned I adjusted everything I could find about background tabs and java script I could find.

I changed them to -1. This was the time out setting for the active tab pref. I assume that means infinity? It didn't make a difference. Do you know if -1 is just that, infinity? or should I just be using really large numbers?