linwenzhi7
千年狐狸
千年狐狸
  • UID31370
  • 注册日期2009-12-13
  • 最后登录2024-04-19
  • 发帖数1000
  • 经验242枚
  • 威望0点
  • 贡献值180点
  • 好评度23点
  • 社区居民
  • 忠实会员
阅读:6498回复:16

今天firefoxbeta的SwitchyOmega忽然失效了,是我一个人么?

楼主#
更多 发布于:2018-04-28 12:05
今天firefoxbeta的SwitchyOmega忽然失效了,是我一个人么?
Firefox 60.0b16 (64 位)
更新后发现如何切换规则,都无法正常工作。
好人好梦
火狐狸
火狐狸
  • UID26935
  • 注册日期2008-11-06
  • 最后登录2024-04-26
  • 发帖数254
  • 经验89枚
  • 威望0点
  • 贡献值24点
  • 好评度4点
  • 社区居民
1楼#
发布于:2018-04-28 12:36
你是一个人
lonely_8
非常火狐
非常火狐
  • UID30273
  • 注册日期2009-09-03
  • 最后登录2022-08-09
  • 发帖数733
  • 经验469枚
  • 威望0点
  • 贡献值86点
  • 好评度147点
  • 社区居民
  • 忠实会员
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);

自行修改扩展,暂时用着先。
linwenzhi7
千年狐狸
千年狐狸
  • UID31370
  • 注册日期2009-12-13
  • 最后登录2024-04-19
  • 发帖数1000
  • 经验242枚
  • 威望0点
  • 贡献值180点
  • 好评度23点
  • 社区居民
  • 忠实会员
3楼#
发布于:2018-04-28 14:24
lonely_8:https://github.com/FelisCatus/SwitchyOmega/issues/1451回到原帖
谢谢,看到大家都如此,那我就安心了。哈哈哈哈。
ps:不是幸灾乐祸,我悲伤地心情等待修复。
marb
非常火狐
非常火狐
  • UID56238
  • 注册日期2017-12-25
  • 最后登录2023-04-12
  • 发帖数894
  • 经验1041枚
  • 威望0点
  • 贡献值1150点
  • 好评度50点
4楼#
发布于:2018-04-29 16:01
每夜版昨天就有这问题了。果断卸掉每夜版,换回了正式版。结果有的uc脚本又不能用了。反正整天不是这有问题就是那有问题。没办法。找不到其他浏览器替代
wccy0052
火狐狸
火狐狸
  • UID37027
  • 注册日期2011-08-20
  • 最后登录2020-04-20
  • 发帖数153
  • 经验180枚
  • 威望0点
  • 贡献值108点
  • 好评度69点
  • 社区居民
  • 忠实会员
5楼#
发布于:2018-04-29 17:19
uc脚本早晚的事,不要太依赖。
linwenzhi7
千年狐狸
千年狐狸
  • UID31370
  • 注册日期2009-12-13
  • 最后登录2024-04-19
  • 发帖数1000
  • 经验242枚
  • 威望0点
  • 贡献值180点
  • 好评度23点
  • 社区居民
  • 忠实会员
6楼#
发布于:2018-04-30 12:57
wccy0052:uc脚本早晚的事,不要太依赖。回到原帖
呵呵。只是便于自定义,不用编辑PAC!
zjgdlove
小狐狸
小狐狸
  • UID31685
  • 注册日期2010-01-21
  • 最后登录2018-10-16
  • 发帖数93
  • 经验92枚
  • 威望0点
  • 贡献值74点
  • 好评度3点
  • 社区居民
  • 忠实会员
7楼#
发布于:2018-05-01 00:35
退回59等着修复了。。。要不然老给升级到bata16
新垣结衣
火狐狸
火狐狸
  • UID55997
  • 注册日期2017-09-25
  • 最后登录2022-08-31
  • 发帖数103
  • 经验115枚
  • 威望0点
  • 贡献值64点
  • 好评度10点
  • 忠实会员
  • 社区居民
8楼#
发布于:2018-05-01 10:13
已修复,请更新
grimseraph
小狐狸
小狐狸
  • UID39535
  • 注册日期2013-05-26
  • 最后登录2018-09-15
  • 发帖数10
  • 经验17枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
9楼#
发布于:2018-05-01 11:57
感谢楼上提醒
xxp2277
千年狐狸
千年狐狸
  • UID24388
  • 注册日期2008-05-31
  • 最后登录2024-03-28
  • 发帖数1513
  • 经验133枚
  • 威望0点
  • 贡献值46点
  • 好评度8点
  • 社区居民
10楼#
发布于:2018-05-01 12:44
新垣结衣:已修复,请更新回到原帖
感谢提醒,已更新,测试正常。
zjgdlove
小狐狸
小狐狸
  • UID31685
  • 注册日期2010-01-21
  • 最后登录2018-10-16
  • 发帖数93
  • 经验92枚
  • 威望0点
  • 贡献值74点
  • 好评度3点
  • 社区居民
  • 忠实会员
11楼#
发布于:2018-05-01 13:21
已更新,恢复正常。
linwenzhi7
千年狐狸
千年狐狸
  • UID31370
  • 注册日期2009-12-13
  • 最后登录2024-04-19
  • 发帖数1000
  • 经验242枚
  • 威望0点
  • 贡献值180点
  • 好评度23点
  • 社区居民
  • 忠实会员
12楼#
发布于:2018-05-02 16:37
还是firefox论坛好,一路过来,氛围都很好。
fang5566
管理员
管理员
  • UID3719
  • 注册日期2005-03-07
  • 最后登录2024-04-29
  • 发帖数18483
  • 经验4837枚
  • 威望5点
  • 贡献值4316点
  • 好评度1116点
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 终身成就
13楼#
发布于:2018-05-02 16:45
linwenzhi7:还是firefox论坛好,一路过来,氛围都很好。回到原帖
你也是Firefox 和论坛的老朋友了,能坚持下来也不容易。
Firefox More than meets your experience
linwenzhi7
千年狐狸
千年狐狸
  • UID31370
  • 注册日期2009-12-13
  • 最后登录2024-04-19
  • 发帖数1000
  • 经验242枚
  • 威望0点
  • 贡献值180点
  • 好评度23点
  • 社区居民
  • 忠实会员
14楼#
发布于:2018-05-03 15:43
fang5566:你也是Firefox 和论坛的老朋友了,能坚持下来也不容易。回到原帖
那你怎么不给咱们多颁发点论坛勋章哩!
上一页
游客

返回顶部