You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The registerSave callback should run when a setting is changed on another browser instance or device, so that it could be automatically applied as suggested on the README:
It is thus quite useful to automatically apply the option or send it to other parts of the browser extension, so they are notified that a the value of the option changed. This is a useful feature for your usability, because the AutomaticSetings module automatically saves all options, so they should also automatically be applied, so the user immediately sees the difference.
Currently the user would need to manually restart their browser for any changes to take effect.
This library could use the storage.onChanged event or with Firefox/Thunderbird 101 or greater, the storage.sync.onChanged event and then call the respective registerSave callbacks based on the changes argument.
Note that syncing is not currently supported by Firefox for Android (Bug 1595822) or Thunderbird (Bug 1427501).
The text was updated successfully, but these errors were encountered:
The
registerSave
callback should run when a setting is changed on another browser instance or device, so that it could be automatically applied as suggested on the README:Currently the user would need to manually restart their browser for any changes to take effect.
This library could use the
storage.onChanged
event or with Firefox/Thunderbird 101 or greater, thestorage.sync.onChanged
event and then call the respectiveregisterSave
callbacks based on thechanges
argument.Note that syncing is not currently supported by Firefox for Android (Bug 1595822) or Thunderbird (Bug 1427501).
The text was updated successfully, but these errors were encountered: