Passing arguments to javascript file, how does it work?
- by vietean
From the tutorial ScriptJSONOptions of FirebugLite page, I found the below:
Script JSON options
It is possible to set options using a JSON object inside the linked script:
<script type="text/javascript"
src="https://getfirebug.com/firebug-lite.js">
{
overrideConsole: false,
startInNewWindow: true,
startOpened: true,
…