Created
March 1, 2017 11:32
-
-
Save konishika/135e009a1bbc0b34496077bb459d69bc to your computer and use it in GitHub Desktop.
iijmioのクーポンAPIのトークン取得のリダイレクト先として指定すると便利なhtml
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
<html> | |
<head> | |
<title>iijmio</title> | |
<style> | |
.output { | |
color: #333 ; | |
text-align: center ; | |
padding: 8px 0 ; | |
border: 1px solid #333 ; | |
min-height: 24px ; | |
} | |
</style> | |
</head> | |
<body> | |
<p id="output" class="output"></p> | |
<script> | |
var resultElement = document.getElementById( "output" ) ; | |
resultElement.innerHTML = location.hash ; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment