- <script src="Http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" tppabs="http// Int.dpool.sina.com.cn/iplookup/iplookup.php?format=js ">
- </script>
- <form action="#" method="POST" >
- <input type="hidden" name="IP" id="IP" value=""/>
- <SCRIPT> var province = remote_ip_info.province; var city = remote_ip_info.city; document.getElementById ("IP"). value=city; </SCRIPT>
- </form>
- <script language="JavaScript" >
- var address = document.getElementById ("IP"). Value;
- if (address = ="") {
- document.write ("Access error")
- }Else if (address = = "Beijing" | | address = = "Shanghai" | | address = = "Chengdu") {
- window.location="index.htm"
- }else{
- }
- </script>
- <script src="Http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" charset="GB2312" ></ Script>
- <script type=text/javascript>
- if (remote_ip_info.city = = ' Shenzhen ') {
- window.location.href="Jump link";
- }else{
- window.location.href="Jump link";
- }
- </script>
JS Block a region (city) Visit website