看了下,是你
https://www.tax.sh.gov.cn/这个页面里面有段 js 代码的问题
<script type="text/javascript">
var urlStr = document.location.toString();
if (urlStr.indexOf('pub') == -1) {
urlStr = urlStr.replace('zbtax', 'jatax');
var tempURL = urlStr.replace('http://www.', '');
tempURL = tempURL.substring(0, tempURL.indexOf('.'));
//tempURL = (tempURL == 'tax' || tempURL == 'csj') ? 'pub' : tempURL;
if (tempURL == 'tax' || tempURL == 'csj') {
tempURL = 'pub';
urlStr += '/' + tempURL;
} else if (tempURL == '12366') {
tempURL = '12366gjsy/indexChinese.html';
urlStr += tempURL;
} else {
urlStr += '/' + tempURL;
}
document.location = urlStr;
}
</script>