(function show_source_code() { var url = document.currentScript.dataset.href; if (!url) url = "" var text = `
` document.currentScript.insertAdjacentHTML("afterend", text) var code = document.currentScript.nextSibling.firstChild.nextSibling fetch(url).then(res => res.text()).then(res => code.textContent = res) })()