iobroker.fitbit-fitness
Version:
retrieves data from FITBIT
23 lines (15 loc) • 414 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Getting Code from FitBit</title>
<script type="text/javascript">
const urlParams = new URLSearchParams(window.location.search);
var code = urlParams.get('code');
window.opener.postMessage({ code: code }, '*');
window.close();
</script>
</head>
<body>
</body>
</html>