https://rawgithub.com/dfkaye/datauri-vs-src-test/master/index.html

view the repo for this page at https://github.com/dfkaye/datauri-vs-src-test

F12 ~ Open your browser's console to verify codebase loading message.

Buttons load javascript codebase by one of four methods: script.src = scriptUrl, script.src = dataURI, script.text = code or new Function(code).

The remove() button manually unloads the test script tag and nullifies the global codebase variable.