IE,URL中文读取

var _url = window.location.href;
if (_url.indexOf('keyword=') > 0  && navigator.userAgent.indexOf("MSIE") > 0) {
$('.tSearch').val(_url.substring(_url.indexOf('keyword=') + 8, _url.length));
}

原文地址:https://www.cnblogs.com/lccnblog/p/3582801.html