Created
December 1, 2011 17:31
-
-
Save jutememo/1418412 to your computer and use it in GitHub Desktop.
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
var blockNo = '47662'; | |
var now = new Date(); | |
location.href = 'http://www.data.jma.go.jp/obd/stats/etrn/view/hourly_s1.php?block_no=' | |
+ blockNo | |
+ '&year=' | |
+ now.getFullYear() | |
+ '&month=' | |
+ (now.getMonth() + 1) | |
+ '&day=' | |
+ (now.getDate() - 1).toString() | |
+ '&view=p1'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment