Hi all, Is there a way that I could automatically execute a javascript file when a certain content type is loaded?
For example, when the response from the server is application/json then execute a script (e.g. `VIMB_CONFIG_DIR/scripts/format_json.js`) that will pretty print the JSON document. Or is there another way to achieve a similar effect? Cheers Dan ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ vimb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vimb-users