Created
January 31, 2014 02:46
-
-
Save snowleung/8725792 to your computer and use it in GitHub Desktop.
script_on_link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
d = new Date(); | |
y = d.getFullYear().toString(); | |
td = (d.getMonth()).toString(); | |
ytd = y + td; | |
mycode = 6222100511860 | |
q = "http://opendata.baidu.com/api.php?query=%E5%B9%BF%E5%B7%9E__"+ytd+"__"+mycode+"&resource_id=6722&ie=utf8&oe=uft8&format=json&tn=baidu&from_mid=1&t=1389938832484&cb=bd__cbs__hpzxgf"; | |
location.href = q; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment