Skip to content
Snippets Groups Projects
Commit c4af34c4 authored by Jacob Dreesen's avatar Jacob Dreesen Committed by Stefan Neufeind
Browse files

[FEATURE] Add crossorigin property to JavaScript files

Add a property 'crossorigin="some-value"' to JavaScript files via TypoScript
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.

This patch affects the TypoScript PAGE properties
* includeJSlibs
* includeJSFooterlibs
* includeJS
* includeJSFooter

Resolves: #76459
Releases: master
Change-Id: Ie8d1d86ca5a8863c2a637395f1f87a463729691c
Reviewed-on: https://review.typo3.org/48455


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
parent 535871e0
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment