Code Monkey home page Code Monkey logo

Comments (8)

ericjung avatar ericjung commented on May 13, 2024

It would be nice to have an option to sync only the proxy configurations but not what's enabled

The storageAPI does not support partial synchronization; it's all or nothing. So this is not possible without rolling my own synchronization and maintaining sync servers, which is not something I'm willing to do, but I will accept patches/contributions for it.

A button to copy between the synced and local set of proxies would be nice as well.

That is what happens when you turn on sync, no? Local is copied to synched. Maybe you mean the other way? But there is also import/export to do the same. And 6.6, being released pending Mozilla review, adds support for import/export of just patterns per proxy (not everything). It was actually added in 6.5 but Mozilla rejected that release.

from firefox-extension.

ThiefMaster avatar ThiefMaster commented on May 13, 2024

I mean the other way around: I currently have proxies configured and synced. Now I want to turn them on locally. So I'd disable sync - but that results in my configured proxies disappearing, since the local list is empty.

from firefox-extension.

ericjung avatar ericjung commented on May 13, 2024

What about:

  1. Export proxies to a file while sync is on
  2. Turn synch off
  3. Import file from #1

If you have to do this often, then it's not good. But you didn't explain if this is something you need often.

Also, would selective import/export be useful? That is, select which proxies to export or import from a list (Currently all are imported/exported)

from firefox-extension.

sabberworm avatar sabberworm commented on May 13, 2024

Hi @ericjung,

I, too, would love to see this feature. Your explanation of the storage API makes sense but IMHO doesn’t really mean the only way to support this would be to roll your own sync.

It seems to me you could just split the “which config is currently selected” option into two, one for sync and another which is actually applied. Whenever the first setting changes after a sync, you either apply it to the other or you don’t depending on the user’s preference.

from firefox-extension.

ericjung avatar ericjung commented on May 13, 2024

It seems to me you could just split the “which config is currently selected” option into two, one for sync and another which is actually applied. Whenever the first setting changes after a sync, you either apply it to the other or you don’t depending on the user’s preference.

I don’t really understand. Can you explain differently or post a screenshot of the UI you envision?

from firefox-extension.

sabberworm avatar sabberworm commented on May 13, 2024

UI-wise, the only change would be a new checkbox. In addition to “Synchronize Settings”, there would be “Synchronize Selection” (or similar).

When changing which config is active, the change would only be stored to the synced part of the options if that switch is on. Likewise, when the value changes after a sync, only apply it if the checkbox is on.

from firefox-extension.

ericjung avatar ericjung commented on May 13, 2024

OK, just to be clear: you want to synchronize everything (proxy configurations, patterns) but you want the active proxy configuration (or FoxyProxy turned off) to be synch'd separately? Right?

from firefox-extension.

sabberworm avatar sabberworm commented on May 13, 2024

Yes, that’s what I want. And I hope that’s what the OP was going for as well.

from firefox-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.