Feature Request: Async/Defer for external javascript

It would be nice if there was an option for external javascript files to be marked as async and/or defer

image

As always, thanks for the great product.

You can add it to the head section from the settings dialog under Head Content
like this

  <script src="example1.js" defer></script>
  <script src="example2.js" async defer></script>
  <script async>
    // Inline script code
  </script>

For external scripts, using both attributes together has no practical effect, and the script will behave similarly to using async alone.

1 Like

Thanks for the tip. That did exactly what I needed.

1 Like