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".

Learn More

Why editing certain preferences can change firefox's behavior right away while some other preferences requires a firefox restart in order to take effect?

  • Không có trả lời
  • 1 gặp vấn đề này
  • 12 lượt xem
more options

locking - asked here - https://support.mozilla.org/en-US/questions/933572?s=&r=1&as=s

I have a question related to editing preferences to alter firefox behaviors.

In firefox, the permission for allowing and blocking website popups are stored in a SQLite database, namely permissions.sqlite, which is stored in users profile folder. I noticed that if I edit this preference in the database, I have to restart firefox in order to let the changes take effect.

However, changing some other preferences can alter firefox's behavior right away. For instance, if I go to "Options->Tabs" and check "Always show the tab bar" option, the tab bar will show up immediately. It doesn't require a firefox restart.

Some people told me that there are observers associated with certain preferences that can listen to preference changes and update firefox. Others told me that firefox will cache the preferences that are edited through the user interface and firefox can immediately aware of it.

I am not sure which opinion is correct. My question is why editing certain preferences can change firefox's behavior right away while some other preferences requires a firefox restart in order to take effect?

''locking - asked here - https://support.mozilla.org/en-US/questions/933572?s=&r=1&as=s'' I have a question related to editing preferences to alter firefox behaviors. In firefox, the permission for allowing and blocking website popups are stored in a SQLite database, namely permissions.sqlite, which is stored in users profile folder. I noticed that if I edit this preference in the database, I have to restart firefox in order to let the changes take effect. However, changing some other preferences can alter firefox's behavior right away. For instance, if I go to "Options->Tabs" and check "Always show the tab bar" option, the tab bar will show up immediately. It doesn't require a firefox restart. Some people told me that there are observers associated with certain preferences that can listen to preference changes and update firefox. Others told me that firefox will cache the preferences that are edited through the user interface and firefox can immediately aware of it. I am not sure which opinion is correct. My question is why editing certain preferences can change firefox's behavior right away while some other preferences requires a firefox restart in order to take effect?

Được chỉnh sửa bởi the-edmeister vào