I\'ve got a script that inserts some content into an element using innerHTML.
innerHTML
The content could for example be:
Try this snippet:
function stripAndExecuteScript(text) { var scripts = ''; var cleaned = text.replace(/