Edit in GitHubLog an issue

script

Since: UXP v3.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.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.