zero-peak / ZeroOmega

Manage and switch between multiple proxies quickly & easily.
GNU General Public License v3.0
1.8k stars 44 forks source link

Stop working if "Never remember history" enabled in Firefox #21

Closed dyhkwong closed 3 months ago

dyhkwong commented 3 months ago

ZeroOmega version

3.3.5

Browser version & OS version

Firefox 129.0, this issue is not OS-specific

Problem description

Steps to reproduce issue

  1. Install ZeroOmega
  2. Go to "Settings" - "Privacy & Security" - "History" - "Firefox will" - Select "Never remember history"
  3. Any changes made in ZeroOmega settings can't take effect.

Expected behavior

Changes made in ZeroOmega settings can take effect.

Actual behavior

Data of ZeroOmega can't persist if "Never remember history" enabled in Firefox.

suziwen commented 3 months ago

ZeroOmega is developed using the mv3 specification, and mv3 must be run under service worker. However, firefox is not fully compatible with service worker in private mode, so there is no good solution for now. Either try to use switchyomega or wait for firefox to be compatible in the future.

Service workers not compatible

The most fundamental reason may be: Firefox in "never remember history" mode will disable IndexedDB

suziwen commented 3 months ago

I converted indexeddb to localStorage, the latest 3.3.6 may work.

https://github.com/suziwen/ZeroOmega/releases/tag/3.3.6

dyhkwong commented 3 months ago

v3.3.6 tested working on Firefox private mode. Thanks!