JavaScript Code Inside <script> Tag
Apparently a JSON object can be passed inside a linked script. I'm trying to figure out exactly how this works (or if it does): <script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"> { overrideConsole: false, startInNewWindow: true, startOpened: true, enableTrace: true } </script> I noticed it here in the firebug lite documentation: http://getfirebug.com/firebuglite#ScriptJSONOptions The content is not executed because the element has a src attribute. It's not strictly legal as is. The HTML5 spec says: If there is a src attribute, the element must be either empty or