fromSitePoint Forums | Web Development & Design Community
4 months agoPass parameters securely with script tag
To pass data securely to a dynamically added script, consider encapsulating it in a self-invoking function that the script can access without exposing it in a global scope.