Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5dcd170d74 |
No files matched your search
@@ -9,7 +9,7 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version to validate (for example 20261009.1)"
|
||||
description: "Version to validate (for example 20261009)"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
actual = json.load(open(path, encoding="utf-8"))["version"]
|
||||
if actual != expected:
|
||||
raise SystemExit(f"{path}: version {actual!r} does not match release {expected!r}")
|
||||
if not re.fullmatch(r"\d+(\.\d+){0,3}", expected):
|
||||
if not re.fullmatch(r"\d+(\.\d+){1,3}", expected):
|
||||
raise SystemExit(f"Release version must be numeric, got {expected!r}")
|
||||
PY
|
||||
|
||||
@@ -181,7 +181,6 @@ jobs:
|
||||
--artifacts-dir dist/firefox-signed \
|
||||
--api-key "$AMO_JWT_ISSUER" \
|
||||
--api-secret "$AMO_JWT_SECRET" \
|
||||
--amo-metadata amo-metadata.json \
|
||||
--channel listed \
|
||||
--approval-timeout 900000 \
|
||||
--no-input
|
||||
|
||||
@@ -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.
|
||||
- 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 minimum at 140 and Firefox Android minimum at 142 when using built-in `data_collection_permissions` consent.
|
||||
- Keep the Firefox Android minimum version at 113 or newer when using the `gecko_android` manifest key.
|
||||
- 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.
|
||||
- Keep popup and options theme behavior consistent. Supported theme values are `system`, `light`, and `dark`.
|
||||
@@ -30,7 +30,6 @@ 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.
|
||||
- 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 `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.
|
||||
|
||||
## Validation
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
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.
|
||||
@@ -48,7 +48,7 @@ The manifest requests these permissions:
|
||||
- `webRequest` and `webRequestBlocking` — provide proxy authentication credentials.
|
||||
- `<all_urls>` — apply the domain routing policy to web requests.
|
||||
|
||||
These permissions are used for proxy management. The manifest declares `data_collection_permissions.required` as `none`; the extension does not collect or transmit data.
|
||||
These permissions are used for proxy management. The extension does not collect or transmit data.
|
||||
|
||||
## 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.
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
### Chrome and Chromium desktop
|
||||
|
||||
@@ -106,9 +106,7 @@ 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.
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
To remove generated packages:
|
||||
|
||||
@@ -128,8 +126,4 @@ python -m json.tool manifest.json >/dev/null
|
||||
|
||||
## Project version
|
||||
|
||||
Current version: **20261009.1**
|
||||
|
||||
## License
|
||||
|
||||
Distributed under the [MIT License](LICENSE).
|
||||
Current version: **20261009**
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"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,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Proxy Switcher Fork By WT",
|
||||
"version": "20261009.1",
|
||||
"version": "20261009",
|
||||
"description": "Selectively apply proxy servers to specific domains.",
|
||||
"minimum_chrome_version": "99",
|
||||
"icons": {
|
||||
|
||||
+4
-7
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Proxy Switcher Fork By WT",
|
||||
"version": "20261009.1",
|
||||
"version": "20261009",
|
||||
"description": "Selectively apply proxy servers to specific domains. All settings are stored locally and no data is collected or transmitted externally.",
|
||||
"icons": {
|
||||
"16": "icons/proxy-switcher-16.png",
|
||||
@@ -35,14 +35,11 @@
|
||||
},
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "proxy-switcher-fork-by-wt@9c0b2d3d",
|
||||
"strict_min_version": "140.0",
|
||||
"data_collection_permissions": {
|
||||
"required": ["none"]
|
||||
}
|
||||
"id": "proxy-switcher-for-by-wt@9c0b2d3d",
|
||||
"strict_min_version": "91.1.0"
|
||||
},
|
||||
"gecko_android": {
|
||||
"strict_min_version": "142.0"
|
||||
"strict_min_version": "113.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -340,7 +340,7 @@
|
||||
|
||||
<footer>
|
||||
<div class="footer-content">
|
||||
<p>Proxy Switcher v20261009.1</p>
|
||||
<p>Proxy Switcher v20261009</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 75 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB |
Reference in new issue
Block a user