Sha256: a2ee08a81dc8eb21adc702be5fa5fac0d752d6a9821d16dacb6fe336a1ef2728
Contents?: true
Size: 437 Bytes
Versions: 29
Compression:
Stored size: 437 Bytes
Contents
const button = document.getElementById('btn') let script = document.currentScript let fileName = script.dataset.filename let permalink = script.dataset.permalink const params = new URLSearchParams(window.location.search) button.addEventListener("click", (e) => { window.location = window.location.protocol + "//" + window.location.host + `${permalink}` + '/' + "result" + '?' + 'fileName' + "=" + btoa(fileName); })
Version data entries
29 entries across 29 versions & 1 rubygems