You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/20_script/19_sri.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ If you want to use SRI you can do this by using specific scripts. The default sc
8
8
9
9
When you want to use our SRI version of our script you will need to update your script to `https://scripts.simpleanalyticscdn.com/sri/v4.js`. The full embed script becomes:
@@ -16,4 +17,6 @@ When you want to use our SRI version of our script you will need to update your
16
17
17
18
When using a [custom domain](/bypass-ad-blockers) you need to use this script: `https://CUSTOM.DOMAIN/v4/app.js`. Replace the `CUSTOM.DOMAIN` with your custom domain. To generate an SRI hash for your custom domain you can use [report-uri.com](https://report-uri.com/home/sri_hash) or [srihash.org](https://www.srihash.org/).
18
19
19
-
To verify if our script is an SRI version you can always check for `SRI-version` in the first line.
20
+
To verify if our script is an SRI version you can always check for `SRI-version` in the first line:
21
+
22
+
<imgclass="border"src="/images/script-in-safari-sri-version.png"alt="SRI script viewed in the Safari browser" />
0 commit comments