AdguardTeam / AdguardTeam/AdguardBrowserExtension

Firefox sync doesn't sync AdGuard settings

Aperta
#1,786 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Feature Request Priority: P4
Lingua principale
TypeScript
Stelle
4.4k
Fork
449
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## The problem

Firefox sync installs AdGuard (= it effectively syncs the "should AdGuard be installed").

But the AdGuard settings on a new Firefox instance are at their defaults.

## Solution: extension settings sync APIs

There supposedly is an [opt-in API that extensions can hook into](https://wiki.mozilla.org/Services/Sync/Addon_Sync#Are_Add-on_Settings_Synchronized.3F), to get their settings automatically synced by the browser:

> For now, if an add-on doesn't preserve settings during Sync, you should contact the add-on's author and request Sync support.

That's why I'm here :)

The link I quoted has broken links, but if I had to guess I guess it boils down to this API: https://developer.chrome.com/docs/extensions/reference/storage/

## Alternative solution

An alternative solution could be to programmatically support importing the settings file (the one you get from "Export settings" button). This could even be just the presence of a file in the addon's install directory? I.e. I could drop this settings JSON file into somewhere?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.