---
title: "Feature: #66698 - Add integrity property to JavaScript files"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-66698"
source: "Changelog/7.3/Feature-66698-AddIntegrityPropertyToJavaScriptFiles.rst"
typo3-version: "7.3"
typo3-major: 7
type: "feature"
issue: 66698
forge: "https://forge.typo3.org/issues/66698"
tags: ["JavaScript", "TypoScript", "Frontend"]
rendered: "2026-09-18T17:00:34+00:00"
---

# Feature: #66698 - Add integrity property to JavaScript files {#feature-66698}

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

## Description {#description}

Add a property `integrity="some-hash"` to JavaScript files via TypoScript

`page.includeJSLibs.<array>.integrity = some-hash`

This patch affects the TypoScript PAGE properties

-   includeJSLibs
-   includeJSFooterlibs
-   includeJS
-   includeJSFooter

### Usage: {#usage}

```typoscript
page {
	includeJS {
		jQuery = fileadmin/jquery-1.10.2.min.js
		jQuery.disableCompression = 1
		jQuery.excludeFromConcatenation = 1
		jQuery.integrity = sha256-C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=
	}
}
```

> [!TIP]
> **Hint**
>
> Integrity hashes may be generated using [https://www.srihash.org/](https://www.srihash.org/).
