variable URL
variable Protocol
variable Domain
variable Script
json parse url the location as URL
put property `protocol` of URL into Protocol
put property `domain` of URL into Domain
require js `https://cdn.jsdelivr.net/gh/easycoder/easycoder.github.io/dist/plugins/codemirror.js`
rest get Script from Protocol cat Domain cat `/resources/ecs/scripted.txt` or
begin
alert `Failed to load the script. Please try again.` cat newline cat newline
cat `The reported error message was:` cat newline cat the error
end
run Script