[document.currentScript](https://developer.mozilla.org/en-US/docs/Web/API/document.currentScript) is available only on Firefox and Chrome \o/