...
|
...
|
@@ -94,15 +94,6 @@ function getShoppingKey() { |
|
|
return JSON.parse(c).k;
|
|
|
}
|
|
|
|
|
|
// page cache改造-前端移动端检测
|
|
|
(function() {
|
|
|
var mrefer = $('#m-refer').val();
|
|
|
|
|
|
if (mrefer && window.navigator.userAgent.match(/(nokia|iphone|android|ipad|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam\-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte\-|longcos|pantech|gionee|^sie\-|portalmmm|jig\s browser|hiptop|^ucweb|^benq|haier|^lct|opera\s*mobi|opera\*mini|320x320|240x320|176x220)/i)) { // eslint-disable-line
|
|
|
window.location = mrefer;
|
|
|
}
|
|
|
}());
|
|
|
|
|
|
// YAS统计代码
|
|
|
(function(w, d, s, j, f) {
|
|
|
var a = d.createElement(s);
|
...
|
...
|
|