Feature #93832

Allow arbitrary attributes on script tag

Added by Martin Kutschker about 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
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.

#1

Updated by Riccardo De Contardi about 1 year ago

  • Category set to Frontend
#2

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.

#3

Updated by Benni Mack about 1 year ago

  • Target version changed from 11.2 to 11.3
#4

Updated by Benni Mack 12 months ago

  • Target version changed from 11.3 to 11.4
#5

Updated by Benni Mack 10 months ago

  • Target version changed from 11.4 to 12 LTS

Also available in: Atom PDF