Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Testing injection mad science
var script = document.currentScript;
var sheet = script.getAttribute('sheet');
var el = document.createElement('div');
el.textContent = 'hi world!';
script.parentNode.replaceChild(el, script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.