mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Fix SOCKS5 servers.
This commit is contained in:
parent
9467a58f6f
commit
4dca36a45f
@ -43,8 +43,10 @@ FindProxyForURL = (function () {
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1319641
|
||||
if (next.charCodeAt(0) !== 43) {
|
||||
// MOZ: HTTPS proxies are supported under the prefix PROXY.
|
||||
// MOZ: SOCKS5 proxies are supported under the prefix SOCKS.
|
||||
// https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/ProxyScriptContext.jsm#180
|
||||
return next.replace(/HTTPS /g, 'PROXY ');
|
||||
return next.replace(/HTTPS /g, 'PROXY ')
|
||||
.replace(/SOCKS5 /g, 'SOCKS ');
|
||||
}
|
||||
} else if (matchResult.profileName) {
|
||||
next = OmegaPac.Profiles.nameAsKey(matchResult.profileName)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_manifest_app_name__",
|
||||
"version": "2.4.7",
|
||||
"version": "2.4.8",
|
||||
"description": "__MSG_manifest_app_description__",
|
||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkhwZJT76btQ04EEMOFtZPLESD1TmSVjbLjs0OyesD9Ht8YllFPfJ3qmtbSQGVuvmxH1GK/jUO2QcEWb8bHuOjoRlq20fi5j5Aq90O8FKET+y5D8PxCyi3WmnquiEwaE5cNmaCsw/G2JlO+bZOtdQ/QKOvMxBAegABYimEGfSvCMVUEvpymys0gBhLoch72zPAiJUBkf0z8BtjYTueMRcRXkrSeRPLygUDQnZ1TkQWMYYBp/zqpD5ggxytAklEMQzR9Hn0lqu5s7iuUAgihbysPn/8Wh00Zj5FySpK//KcpG3JS7UWxC28oSt8z5ZR3YimnX+HX3P36V0mC1pgM4o7wIDAQAB",
|
||||
"icons": {
|
||||
@ -54,7 +54,7 @@
|
||||
},
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "switchyomega@example.com",
|
||||
"id": "switchyomega@feliscatus.addons.mozilla.org",
|
||||
"strict_min_version": "55.0a1"
|
||||
}
|
||||
}
|
||||
|
@ -216,7 +216,7 @@ class ChromeOptions extends OmegaTarget.Options
|
||||
if message.level == 'error'
|
||||
@log.error(message)
|
||||
else if message.level == 'warn'
|
||||
@log.warn(message)
|
||||
@log.error(message)
|
||||
else
|
||||
@log.log(message)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user