S = function()

in static/js/aplus_v2.js [1051:1075]


          S = function (e) {
            try {
              if ('function' == typeof p.WebSocket) {
                var t = /alibaba-inc|aliway|alibabacorp\.com/.test(
                    location.hostname
                  ),
                  n = f.getMetaCnt('aplus-channel'),
                  a = 'GET' === n || 'POST' === n,
                  r = /tppnext\.alibaba-inc.com/.test(location.hostname);
                if (a && r) return !1;
                var o =
                    /aplus_ws=true/.test(location.search) ||
                    'WS' === n ||
                    'WS-ONLY' === n,
                  i = location.host,
                  s = /tmall|taobao\.com/g.test(i),
                  u = /Qianniu\/\d/.test(d),
                  l = t || o || (s && !f.isMobile(d) && !u && e.fn !== v.V_W);
                return l && (goldlog.aplusChannel = 'WS'), l;
              }
              return !1;
            } catch (c) {
              return !1;
            }
          };