Feature #93832
Allow arbitrary attributes on script tag
Start date:
2021-03-30
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The spec allows these that are currently unsupported:
nonce
referrerpolicy
nomodule
For forward-compatibility I suggest an "additionalAttributes" property instead of 3 properties.
Updated by Martin Kutschker about 1 year ago
Two slips:
nomodule is already possible in v10 for includeJS.
nonce makes only sense for inline scripts which cannot be loaded (currently) with includeJS. For jsInline it only makes sense if the content is not concatenated and unchanged by TYPO3.