Created
November 22, 2018 20:55
-
-
Save davidhund/661eb0346222e4fa114c05e054601e79 to your computer and use it in GitHub Desktop.
test js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Test (ignoreme) | |
(function(win,doc){ | |
var sc = doc.getElementById('myScript'); | |
if (sc) { | |
var el = doc.createElement('p'); | |
el.innerHTML = 'Yo, this is from the <b>SCRIPT</b> include! :-)'; | |
el.style.color = 'green'; | |
sc.parentNode.insertBefore(el, sc.nextSibling); | |
} | |
})(window, document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment