以后地位:首页 > 建站常识 > 列表

JS 判定后缀名asp并跳转

点击: 次时候:2016/10/17关头词:asp跳转
<script type="text/javascript">var url = location.href,re = /\.(asp)/;if (re.test(url)){// 这里做跳转location.href = http://www.0

<script type="text/javascript">

var url = location.href,

re  = /\.(asp)/;

if (re.test(url))

{// 这里做跳转

location.href = http://3djiangyin.com/news/277.html

}
</script>

预定建站
收费供给网站优化
支付关头词