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!

当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How do I stop Firefox for Android automatically refreshing pages?

  • 1 件の返信
  • 7 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Ed

more options

Firefox: 23.0 Android: 4.1.2 Every time I switch to another app and the switch back to Firefox it reloads the page I was on. Which 1) loses the place where I was reading, and 2) loses the page entirely because if I've moved to an area without a signal. I've tried the about:config; accessibility.blockautorefresh: false recommended for the PC version of Firefox, but it doesn't seem to have an effect. The other suggested fix for the PC version, the RefreshBlocker add-on, doesn't have a version that works on Android.

Firefox: 23.0 Android: 4.1.2 Every time I switch to another app and the switch back to Firefox it reloads the page I was on. Which 1) loses the place where I was reading, and 2) loses the page entirely because if I've moved to an area without a signal. I've tried the about:config; accessibility.blockautorefresh: false recommended for the PC version of Firefox, but it doesn't seem to have an effect. The other suggested fix for the PC version, the RefreshBlocker add-on, doesn't have a version that works on Android.

すべての返信 (1)

more options

Hello,

Unfortunately this is Android's decision rather than Firefox's. When an Android app is in the background it's information will be stored in RAM. If you want to return to that app the information will be restored (almost instantly) from RAM.

However the problem you describe arises when Android decides that it needs the RAM for something else (i.e. another app). When that happens the information about Firefox is dumped out of RAM and into cache on the phone's storage. This is a much slower type of storage and so the time taken to restore it when you return to Firefox is much longer.

The only way of preventing this from happening would be to not use any demanding applications when Firefox is in the background.

You can also investigate what is using up most of your phone's RAM. I found that the stock Touchwiz launcher on my Galaxy SIII was using loads of RAM. I replaced it with the Apex launcher which uses much less RAM. This leaves more space in RAM for my apps and so the apps in the background are less likely to get dumped into cache. It does still happen though. That is just how android works.

See here for more info: http://android.stackexchange.com/questions/29466/how-to-force-browsers-not-to-reload-recently-seen-page-after-resume

The other option (not cheap!) of course is to get a phone with more RAM. The top end android phones now tend to come with 2GB of RAM and I expect we will see 4GB in the near future.

I hope that helps.

この投稿は Ed により に変更されました