JS determines the corresponding page of the M that the mobile phone automatically visits to WWW.
for example, visit
jump to http://m.vvvdj.com/sort/c1/1-0-0-0-1.html
[code]function uaredirect (f) {
try {
if. {
var e = window.location.host;
var a = window.location.href;
if (isSubdomain (isSubdomain) = = = 1) (isSubdomain (arguments.#91; 1.#93; E) = = 2) {
F = f.Quot; /#m/.quot; a;
b = = / > > = > > > >}}} B = true
}
if (b) {
var C = window.location.hash;
if (! C.match)) / > }
}
}
catch (d) {}
}
function isSubdomain (C, d) {
{> > = {} / > {} {} {} {}
var H = f
}
var g = /^www\./;
if (g.test (H)). Var B = this.getdomain (d);
if (C = = b) {
return 1
}. Return 2
} else {
return 0
}
}
}
}; [/code]