Compare commits

...
6 Commits
Author SHA1 Message Date
wt 4b6f51a3e5 bump version to 20261009.1
Build and publish extension / Build extension packages (push) Successful in 1m1s
Build and publish extension / Publish stores and attach release assets (push) Skipped
Build and publish extension / Build extension packages (release) Successful in 1m8s
Build and publish extension / Publish stores and attach release assets (release) Failing after 10m52s
2026-10-09 18:00:43 +07:00
wt b8046e7b9a fix warnings in firefox addons
Build and publish extension / Build extension packages (push) Canceled after 0s
Build and publish extension / Publish stores and attach release assets (push) Canceled after 0s
Build and publish extension / Build extension packages (release) Canceled after 0s
Build and publish extension / Publish stores and attach release assets (release) Canceled after 0s
2026-10-09 17:58:27 +07:00
wt 41456c5c0f added screenshots and fix manifest.json
Build and publish extension / Publish stores and attach release assets (push) Canceled after 0s
Build and publish extension / Build extension packages (push) Canceled after 32s
2026-10-09 17:46:46 +07:00
wt dd50029bc5 updated LICENSE and fix ci/cd №3
Build and publish extension / Build extension packages (push) Successful in 1m35s
Build and publish extension / Publish stores and attach release assets (push) Skipped
2026-10-09 17:30:31 +07:00
wt 4dd5f48e3b fix ci/cd №2
Build and publish extension / Build extension packages (push) Successful in 1m1s
Build and publish extension / Publish stores and attach release assets (push) Skipped
2026-10-09 17:14:57 +07:00
wt 9e2ef513a0 fix ci/cd
Build and publish extension / Build extension packages (push) Successful in 51s
Build and publish extension / Publish stores and attach release assets (push) Skipped
2026-10-09 17:01:22 +07:00
11 changed files with 61 additions and 13 deletions

No files matched your search

+3 -2
View File
@@ -9,7 +9,7 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
version: version:
description: "Version to validate (for example 20261009)" description: "Version to validate (for example 20261009.1)"
required: true required: true
type: string type: string
@@ -48,7 +48,7 @@ jobs:
actual = json.load(open(path, encoding="utf-8"))["version"] actual = json.load(open(path, encoding="utf-8"))["version"]
if actual != expected: if actual != expected:
raise SystemExit(f"{path}: version {actual!r} does not match release {expected!r}") raise SystemExit(f"{path}: version {actual!r} does not match release {expected!r}")
if not re.fullmatch(r"\d+(\.\d+){1,3}", expected): if not re.fullmatch(r"\d+(\.\d+){0,3}", expected):
raise SystemExit(f"Release version must be numeric, got {expected!r}") raise SystemExit(f"Release version must be numeric, got {expected!r}")
PY PY
@@ -181,6 +181,7 @@ jobs:
--artifacts-dir dist/firefox-signed \ --artifacts-dir dist/firefox-signed \
--api-key "$AMO_JWT_ISSUER" \ --api-key "$AMO_JWT_ISSUER" \
--api-secret "$AMO_JWT_SECRET" \ --api-secret "$AMO_JWT_SECRET" \
--amo-metadata amo-metadata.json \
--channel listed \ --channel listed \
--approval-timeout 900000 \ --approval-timeout 900000 \
--no-input --no-input
+2 -1
View File
@@ -22,7 +22,7 @@ This repository contains the Firefox WebExtension **Proxy Switcher Fork By WT**.
- Keep all configuration local. Do not add telemetry, remote requests, analytics, or external script dependencies. - Keep all configuration local. Do not add telemetry, remote requests, analytics, or external script dependencies.
- Preserve the `browser.*` WebExtension API style in shared UI code. Firefox uses Manifest V2 and `proxy.onRequest`; Chromium uses Manifest V3, `chrome.proxy.settings`, and a PAC script. - Preserve the `browser.*` WebExtension API style in shared UI code. Firefox uses Manifest V2 and `proxy.onRequest`; Chromium uses Manifest V3, `chrome.proxy.settings`, and a PAC script.
- Keep the Firefox Android minimum version at 113 or newer when using the `gecko_android` manifest key. - Keep the Firefox minimum at 140 and Firefox Android minimum at 142 when using built-in `data_collection_permissions` consent.
- Keep the Firefox and Chromium manifests as separate build targets. Do not replace the Firefox proxy listener with the Chrome PAC implementation. - Keep the Firefox and Chromium manifests as separate build targets. Do not replace the Firefox proxy listener with the Chrome PAC implementation.
- Proxy settings are domain-specific. A missing domain entry means direct connection; an entry with `enabled: false` is configured but disabled. - Proxy settings are domain-specific. A missing domain entry means direct connection; an entry with `enabled: false` is configured but disabled.
- Keep popup and options theme behavior consistent. Supported theme values are `system`, `light`, and `dark`. - Keep popup and options theme behavior consistent. Supported theme values are `system`, `light`, and `dark`.
@@ -30,6 +30,7 @@ This repository contains the Firefox WebExtension **Proxy Switcher Fork By WT**.
- Never hand-edit or retain stale `META-INF` signatures after changing files. Build artifacts must be signed again before distribution. - Never hand-edit or retain stale `META-INF` signatures after changing files. Build artifacts must be signed again before distribution.
- Do not commit generated `web-ext-artifacts/` packages unless explicitly requested. - Do not commit generated `web-ext-artifacts/` packages unless explicitly requested.
- Keep publishing credentials only in GitHub Secrets. The release workflow expects AMO JWT credentials and Chrome Web Store OAuth credentials. - Keep publishing credentials only in GitHub Secrets. The release workflow expects AMO JWT credentials and Chrome Web Store OAuth credentials.
- Keep `amo-metadata.json` valid for AMO listed submissions; keep `version.license` consistent with the MIT `LICENSE` file.
- Missing or incomplete store credentials must skip only that store's deployment. Keep package builds, release assets, and workflow artifacts available without store credentials. - Missing or incomplete store credentials must skip only that store's deployment. Keep package builds, release assets, and workflow artifacts available without store credentials.
## Validation ## Validation
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 WT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+10 -4
View File
@@ -48,7 +48,7 @@ The manifest requests these permissions:
- `webRequest` and `webRequestBlocking` — provide proxy authentication credentials. - `webRequest` and `webRequestBlocking` — provide proxy authentication credentials.
- `<all_urls>` — apply the domain routing policy to web requests. - `<all_urls>` — apply the domain routing policy to web requests.
These permissions are used for proxy management. The extension does not collect or transmit data. These permissions are used for proxy management. The manifest declares `data_collection_permissions.required` as `none`; the extension does not collect or transmit data.
## Installation ## Installation
@@ -66,7 +66,7 @@ For a normal install, use an XPI signed by Mozilla/AMO. Firefox may reject an un
Firefox Android requires a signed extension package. Submit the build through [addons.mozilla.org/developers](https://addons.mozilla.org/developers/) and download the signed XPI after review, or follow Mozilla's [self-distributed extension instructions](https://extensionworkshop.com/documentation/publish/install-self-distributed/). The manifest includes `browser_specific_settings.gecko_android` so AMO can mark the extension as Android-compatible. Firefox Android requires a signed extension package. Submit the build through [addons.mozilla.org/developers](https://addons.mozilla.org/developers/) and download the signed XPI after review, or follow Mozilla's [self-distributed extension instructions](https://extensionworkshop.com/documentation/publish/install-self-distributed/). The manifest includes `browser_specific_settings.gecko_android` so AMO can mark the extension as Android-compatible.
The manifest targets Firefox Android 113 or newer. The `proxy.onRequest` API is supported there, but the extension still needs to be tested on the target Firefox version and device. The manifest targets Firefox 140+ on desktop and Firefox Android 142+. The `proxy.onRequest` API is supported there, but the extension still needs to be tested on the target Firefox version and device.
### Chrome and Chromium desktop ### Chrome and Chromium desktop
@@ -106,7 +106,9 @@ Configure these repository or environment secrets before publishing:
Each store is optional: deployment runs only when its full set of credentials is present. Missing or incomplete credentials skip that store without failing the workflow or skipping the other store. Both packages are still built and attached to the release. If Firefox deployment is skipped, the release contains the unsigned Firefox XPI for development instead of a signed XPI. Invalid credentials or actual store API failures still fail the deployment step. Each store is optional: deployment runs only when its full set of credentials is present. Missing or incomplete credentials skip that store without failing the workflow or skipping the other store. Both packages are still built and attached to the release. If Firefox deployment is skipped, the release contains the unsigned Firefox XPI for development instead of a signed XPI. Invalid credentials or actual store API failures still fail the deployment step.
The stores must already contain their initial listings and required privacy information. Store review still applies; the workflow submits the update and does not bypass review. Never commit any of these credentials. AMO can create the initial listing automatically from `amo-metadata.json` through `web-ext sign --channel listed`; manually uploading the first Firefox version is not required. Chrome Web Store requires an existing item and completed listing/privacy information. Store review still applies; the workflow submits the update and does not bypass review. Never commit any of these credentials.
The Firefox workflow passes [`amo-metadata.json`](amo-metadata.json) to AMO. It declares the MIT license, categories, and listing metadata for a listed submission.
To remove generated packages: To remove generated packages:
@@ -126,4 +128,8 @@ python -m json.tool manifest.json >/dev/null
## Project version ## Project version
Current version: **20261009** Current version: **20261009.1**
## License
Distributed under the [MIT License](LICENSE).
+16
View File
@@ -0,0 +1,16 @@
{
"version": {
"license": "MIT"
},
"default_locale": "en-US",
"name": {
"en-US": "Proxy Switcher Fork By WT"
},
"categories": {
"firefox": ["other"],
"android": ["other"]
},
"summary": {
"en-US": "Route selected domains through HTTP or SOCKS5 proxy servers."
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Proxy Switcher Fork By WT", "name": "Proxy Switcher Fork By WT",
"version": "20261009", "version": "20261009.1",
"description": "Selectively apply proxy servers to specific domains.", "description": "Selectively apply proxy servers to specific domains.",
"minimum_chrome_version": "99", "minimum_chrome_version": "99",
"icons": { "icons": {
+7 -4
View File
@@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Proxy Switcher Fork By WT", "name": "Proxy Switcher Fork By WT",
"version": "20261009", "version": "20261009.1",
"description": "Selectively apply proxy servers to specific domains. All settings are stored locally and no data is collected or transmitted externally.", "description": "Selectively apply proxy servers to specific domains. All settings are stored locally and no data is collected or transmitted externally.",
"icons": { "icons": {
"16": "icons/proxy-switcher-16.png", "16": "icons/proxy-switcher-16.png",
@@ -35,11 +35,14 @@
}, },
"browser_specific_settings": { "browser_specific_settings": {
"gecko": { "gecko": {
"id": "proxy-switcher-for-by-wt@9c0b2d3d", "id": "proxy-switcher-fork-by-wt@9c0b2d3d",
"strict_min_version": "91.1.0" "strict_min_version": "140.0",
"data_collection_permissions": {
"required": ["none"]
}
}, },
"gecko_android": { "gecko_android": {
"strict_min_version": "113.0" "strict_min_version": "142.0"
} }
} }
} }
+1 -1
View File
@@ -340,7 +340,7 @@
<footer> <footer>
<div class="footer-content"> <div class="footer-content">
<p>Proxy Switcher v20261009</p> <p>Proxy Switcher v20261009.1</p>
</div> </div>
</footer> </footer>
</div> </div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB