Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

主站HTTPS下访问pv.sohu.com/cityjson会出现跨域错误 #2

Open
wangkezun opened this issue Feb 20, 2017 · 4 comments
Open

主站HTTPS下访问pv.sohu.com/cityjson会出现跨域错误 #2

wangkezun opened this issue Feb 20, 2017 · 4 comments

Comments

@wangkezun
Copy link

No description provided.

@withlqs
Copy link

withlqs commented Feb 21, 2017

我也发现这个情况了,这会导致Chrome下白屏。Edge暂时没问题。

@wangkezun
Copy link
Author

@ty96
Copy link
Owner

ty96 commented Feb 21, 2017 via email

@ddwolf
Copy link

ddwolf commented Apr 21, 2017

我这边http://pv.sohu.com/cityjson 报403错误;
我给改成了http://freegeoip.net/json/?callback=loc

<script type="text/javascript" >
  var returnCitySN ;
  function loc (pos) {
    returnCitySN = {cip:pos.ip, cid: pos.country_code, cname: pos.country_name };
  }
</script>
<script type="text/javascript" src="http://freegeoip.net/json/?callback=loc"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants