Since: UXP 3, PS 22.0.0
Loads and executes a script.
Copied to your clipboard<script src="index.js"></script>
Note that while Photoshop will allow you to inject
<script> tags via the HTML5 DOM API and they will execute, you should not rely on this behavior, as this can be a source of significant security risks. You should only use
<script> tags to load and execute local, static content.