阅读:6951回复:16
今天firefoxbeta的SwitchyOmega忽然失效了,是我一个人么?
今天firefoxbeta的SwitchyOmega忽然失效了,是我一个人么?
Firefox 60.0b16 (64 位) 更新后发现如何切换规则,都无法正常工作。 |
|
1楼#
发布于:2018-04-28 12:36
你是一个人
|
|
2楼#
发布于:2018-04-28 14:18
https://github.com/FelisCatus/SwitchyOmega/issues/1451
--- js\omega_target_chromium_extension.min.js 2018-01-27 21:15:56.000000000 +0800 +++ js\omega_target_chromium_extension.min.js 2018-04-27 22:39:50.000000000 +0800 @@ -4433,13 +4433,13 @@ Promise = OmegaTarget.Promise; querystring = require('querystring'); chromeApiPromisify = require('./chrome_api').chromeApiPromisify; -if (typeof chrome !== "undefined" && chrome !== null ? (ref = chrome.proxy) != null ? ref.settings : void 0 : void 0) { +if (typeof browser === "undefined" && typeof chrome !== "undefined" && chrome !== null ? (ref = chrome.proxy) != null ? ref.settings : void 0 : void 0) { proxySettings = { clearAsync: chromeApiPromisify(chrome.proxy.settings, 'clear'), setAsync: chromeApiPromisify(chrome.proxy.settings, 'set'), get: chrome.proxy.settings.get.bind(chrome.proxy.settings) }; } else { @@ -4646,22 +4646,22 @@ watcher = ref1[j]; results1.push(watcher(details)); } return results1; }; })(this); - if ((typeof chrome !== "undefined" && chrome !== null ? (ref1 = chrome.proxy) != null ? (ref2 = ref1.settings) != null ? ref2.onChange : void 0 : void 0 : void 0) != null) { + if ((typeof browser === "undefined" && typeof chrome !== "undefined" && chrome !== null ? (ref1 = chrome.proxy) != null ? (ref2 = ref1.settings) != null ? ref2.onChange : void 0 : void 0 : void 0) != null) { chrome.proxy.settings.onChange.addListener(this._proxyChangeListener); } } return this._proxyChangeWatchers.push(callback); }; ChromeOptions.prototype.applyProfileProxy = function(profile, meta) { var ex, ref1, ref2; - if ((typeof chrome !== "undefined" && chrome !== null ? (ref1 = chrome.proxy) != null ? ref1.settings : void 0 : void 0) != null) { + if ((typeof browser === "undefined" && typeof chrome !== "undefined" && chrome !== null ? (ref1 = chrome.proxy) != null ? ref1.settings : void 0 : void 0) != null) { return this.applyProfileProxySettings(profile, meta); } else if ((typeof browser !== "undefined" && browser !== null ? (ref2 = browser.proxy) != null ? ref2.registerProxyScript : void 0 : void 0) != null) { return this.applyProfileProxyScript(profile, meta); } else { ex = new Error('Your browser does not support proxy settings!'); return Promise.reject(ex); --- js\omega.js 2018-01-27 21:15:56.000000000 +0800 +++ js\omega.js 2018-04-27 22:38:34.000000000 +0800 @@ -445,13 +445,13 @@ (function() { var __hasProp = {}.hasOwnProperty; angular.module('omega').controller('MasterCtrl', function($scope, $rootScope, $window, $q, $modal, $state, profileColors, profileIcons, omegaTarget, $timeout, $location, $filter, getAttachedName, isProfileNameReserved, isProfileNameHidden, dispNameFilter, downloadFile) { var checkFormValid, diff, onOptionChange, showFirstRun, showFirstRunOnce, tr, type, _ref, _ref1; - if ((typeof chrome !== "undefined" && chrome !== null ? (_ref = chrome.proxy) != null ? _ref.settings : void 0 : void 0) == null) { + if ((typeof browser === "undefined" && typeof chrome !== "undefined" && chrome !== null ? (_ref = chrome.proxy) != null ? _ref.settings : void 0 : void 0) == null) { $scope.isExperimental = true; $scope.pacProfilesUnsupported = true; } tr = $filter('tr'); $rootScope.options = null; omegaTarget.addOptionsChangeCallback(function(newOptions) { 如果是 Nightly 的话,关闭签名验证 user_pref("xpinstall.signatures.required", false); 自行修改扩展,暂时用着先。 |
|
3楼#
发布于:2018-04-28 14:24
|
|
4楼#
发布于:2018-04-29 16:01
每夜版昨天就有这问题了。果断卸掉每夜版,换回了正式版。结果有的uc脚本又不能用了。反正整天不是这有问题就是那有问题。没办法。找不到其他浏览器替代
|
|
5楼#
发布于:2018-04-29 17:19
uc脚本早晚的事,不要太依赖。
|
|
6楼#
发布于:2018-04-30 12:57
|
|
7楼#
发布于:2018-05-01 00:35
退回59等着修复了。。。要不然老给升级到bata16
|
|
8楼#
发布于:2018-05-01 10:13
已修复,请更新
|
|
9楼#
发布于:2018-05-01 11:57
感谢楼上提醒
|
|
10楼#
发布于:2018-05-01 12:44
|
|
11楼#
发布于:2018-05-01 13:21
已更新,恢复正常。
|
|
12楼#
发布于:2018-05-02 16:37
还是firefox论坛好,一路过来,氛围都很好。
|
|
13楼#
发布于:2018-05-02 16:45
linwenzhi7:还是firefox论坛好,一路过来,氛围都很好。回到原帖你也是Firefox 和论坛的老朋友了,能坚持下来也不容易。 |
|
|
14楼#
发布于:2018-05-03 15:43
|
|
上一页
下一页