bekh6ex / firefox-container-proxy

[Firefox extension] Assign a proxy to a Firefox container
https://addons.mozilla.org/en-US/firefox/addon/container-proxy/
BSD 2-Clause "Simplified" License
137 stars 14 forks source link

Multi Import proxies and mass assign #65

Open eger238 opened 1 year ago

eger238 commented 1 year ago

Hello. Your extension is very cool! I really like to use it, but I have a need to use a large number of containers and proxies to them. Could you extend your extension with mass proxy list import and mass association with containers?

I'm even willing to pay for it.

If you give your contact or text me in telegram @eger238, we could discuss the terms. Thank you.

msvprogs commented 5 months ago

@eger238 Hello,

As a workaround, it's possible to do this from browser console opened in the extension configuration window:

await browser.storage.local.set(<object>)

Where object may be one of the following:

  1. Proxy list:
    {
    proxies: [{
      doNotProxyLocal: true,
      host: "hostname",
      id: "83261ff2-72d5-4bac-bdad-776929a0316c",
      password: "b",
      port: 9161,
      title: "proxy name",
      type: "http",
      username: "a"
    },
    ...,
    ...
    ]
    }
  2. Container-proxy relation list (container is identified by numeric index):

    {
    relations: {
    
    "firefox-container-1": ["proxy-1-uuid"],
    "firefox-container-2": ["proxy-2-uuid"],
    ...
    "firefox-container-N": ["proxy-N-uuid"]
    }
    }