Like
v0.1-7-g1d18af433a (2019-05-02) [include data from request parameter]
but using topmost window (supporting original path of iframe redirects
such as in riot.im widgets).
<body>
<p id="clan">No clan data</p>
<script>
<body>
<p id="clan">No clan data</p>
<script>
- fetch('/schtarr/inno.json')
+ let request = this.location.pathname.split('/')
+ request.splice(2, 1) // strip page name
+ fetch(request.join('/') + '.json')
.then(res => {
if (res.status != 200) {
console.log('got %o', res)
.then(res => {
if (res.status != 200) {
console.log('got %o', res)