Commit 4ee6f8e5 by libai

6

parent 112824e6
Showing with 7 additions and 9 deletions
......@@ -13,15 +13,13 @@
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
<script src="lib/jquery-3.1.1.min.js"></script>
<script>
// console.log(returnCitySN["cname"])
// var ua = navigator.userAgent.toLowerCase();
// province =['北京','上海','深圳','广州','杭州','苏州']
// for(var i=0;i<province.length;i++){
// if(returnCitySN["cname"].indexOf(province[i])!=-1){
// window.location.href='content.html'
// }
// }
var ua = navigator.userAgent.toLowerCase();
province =['北京','上海','深圳','广州','杭州','苏州']
for(var i=0;i<province.length;i++){
if(returnCitySN["cname"].indexOf(province[i])!=-1){
window.location.href='content.html'
}
}
</script>
<script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
<meta charset="UTF-8">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment