FelisCatus 7 лет назад
Родитель
Сommit
eb65855a40

+ 1 - 1
omega-target-chromium-extension/overlay/manifest.json

@@ -1,7 +1,7 @@
 {
   "manifest_version": 2,
   "name": "__MSG_manifest_app_name__",
-  "version": "2.5.13",
+  "version": "2.5.14",
   "description": "__MSG_manifest_app_description__",
   "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkhwZJT76btQ04EEMOFtZPLESD1TmSVjbLjs0OyesD9Ht8YllFPfJ3qmtbSQGVuvmxH1GK/jUO2QcEWb8bHuOjoRlq20fi5j5Aq90O8FKET+y5D8PxCyi3WmnquiEwaE5cNmaCsw/G2JlO+bZOtdQ/QKOvMxBAegABYimEGfSvCMVUEvpymys0gBhLoch72zPAiJUBkf0z8BtjYTueMRcRXkrSeRPLygUDQnZ1TkQWMYYBp/zqpD5ggxytAklEMQzR9Hn0lqu5s7iuUAgihbysPn/8Wh00Zj5FySpK//KcpG3JS7UWxC28oSt8z5ZR3YimnX+HX3P36V0mC1pgM4o7wIDAQAB",
   "icons": {

+ 1 - 1
omega-target-chromium-extension/src/module/switchysharp.coffee

@@ -8,7 +8,7 @@ module.exports = class SwitchySharp
   port: null
 
   monitor: (action) ->
-    return if location.href.substr(4) == 'moz-'
+    return if location.href.substr(0, 4) == 'moz-'
     if not port? and not @_monitorTimerId?
       @_monitorTimerId = setInterval @_connect.bind(this), 5000
       if action != 'reconnect'