Edit in GitHubLog an issue

script

Since: UXP 3, PS 22.0.0

Loads and executes a script.

See: https://developer.mozilla.org/en/docs/Web/HTML/Element/script

Example

Copied to your clipboard
<script src="index.js"></script>

Quirks#

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.

Copyright © 2021 Adobe. All rights reserved.