if (navigator.userAgent.match(/mobile/i)) { window.location = "https://my.cnki.net/m/"; }