---
title: "Feature: #76459 - Add crossorigin property to JavaScript files"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-76459"
source: "Changelog/9.0/Feature-76459-AddCrossoriginPropertyToJavaScriptFiles.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Feature: #76459 - Add crossorigin property to JavaScript files

See [forge#76459](https://forge.typo3.org/issues/76459)

## Description

It is now possible to add the HTML attribute `crossorigin="some-value"` to \<script> tags for
Frontend rendering via TypoScript with the following new property

`page.includeJSlibs.<array>.crossorigin = some-value`

The `crossorigin` property is automatically set to the value `anonymous` for
external JavaScript files with an `integrity` property if not explicitly set.

The feature is available within the following TypoScript PAGE properties

-   `includeJSlibs`
-   `includeJSFooterlibs`
-   `includeJS`
-   `includeJSFooter`

### Usage:

```typoscript
page {
  includeJS {
    jQuery = https://code.jquery.com/jquery-2.2.4.min.js
    jQuery.external = 1
    jQuery.disableCompression = 1
    jQuery.excludeFromConcatenation = 1
    jQuery.integrity = sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=
    jQuery.crossorigin = anonymous
  }
}
```
