spotifylookup/callback.html

18 lines
552 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Callback</title>
</head>
<body>
<span id="content" style="white-space: pre; font-size: 2rem;"></span>
<script defer>
const elem = document.querySelector('#content');
const lines = window.location.search.substring(1).split('&');
elem.textContent = lines.map(line => line.split('=').join(': ')).join('\n');
</script>
</body>
</html>