Skip to content

[Feature]: Support the Chrome extension proxy API in Orca's desktop browser #43075

Open

Description

@ninecc

Problem or use case

Orca supports installing browser extensions, but proxy-switching extensions such as Proxy SwitchyOmega 3 (ZeroOmega) cannot apply browser proxy settings because the extension compatibility layer does not expose chrome.proxy.settings in the source baseline I tested.

Steps to reproduce:

  1. Enable browser extensions in Orca.
  2. Install Proxy SwitchyOmega 3 (ZeroOmega).
  3. Configure a fixed proxy or an automatic-switching profile.
  4. Try to activate that profile.

Expected: requests in the corresponding browser profile follow the selected proxy or PAC rules. Clearing the extension's settings or disabling it restores Orca's existing proxy policy.

Actual: the extension installs, but cannot apply its proxy configuration because the required API is unavailable.

Proposed solution

Add permission-checked support for:

  • chrome.proxy.settings.get/set/clear
  • chrome.proxy.settings.onChange
  • Fixed proxy configurations and PAC URLs/inline scripts
  • Profile-scoped persistence and lifecycle cleanup
  • Restoration of the underlying proxy policy when an override is released

Other browser profiles and SSH/remote browser routes should remain unaffected. Electron's mandatory PAC failure behavior should be documented explicitly.

This targets Orca's Electron-based desktop browser across macOS, Windows, and Linux. Local validation has been performed on macOS Apple Silicon; Windows and Linux still need verification. Mobile and ordinary web clients are outside this implementation's scope.

Alternatives or additional context

Environment reproduced against:

  • macOS, Apple Silicon
  • Proxy SwitchyOmega 3 (ZeroOmega) 3.5.2
  • Source baseline: 5ff527c30b7f

I have a local implementation and can submit a PR. It has been tested with the actual ZeroOmega UI and local HTTP proxy servers, covering fixed proxies, PAC routing, disable/re-enable, and persistence across restarts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions