Skip to content

Commit e2ff896

Browse files
committed
Add screenshot of SRI script in Safari
1 parent e22bb56 commit e2ff896

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

_docs/20_script/19_sri.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ If you want to use SRI you can do this by using specific scripts. The default sc
88

99
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:
1010

11+
<!-- prettier-ignore -->
1112
```html
1213
<script async defer src="https://scripts.simpleanalyticscdn.com/sri/v4.js" integrity="sha256-rmG3YnEIWDH4256MHh72YNw5EkCpXs4YdUxffKqYU1M= sha384-BV6pfT+M7+ULjTQRwkZA/rEheyrnNSRaoCSdDuzFI3GJrDAgI4ZBFlN3AWAgGLY0 sha512-Jb6whXeacnlX7+d2sFJGYjBTlHWgJMg7M7IgmGl7GSi50YR/mDMtlcwMhgOxTypdtKv6gT75HrBtxvMdFw8P0A==" crossorigin="anonymous"></script>
1314
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""
@@ -16,4 +17,6 @@ When you want to use our SRI version of our script you will need to update your
1617

1718
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/).
1819

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+
<img class="border" src="/images/script-in-safari-sri-version.png" alt="SRI script viewed in the Safari browser" />
100 KB
Loading

0 commit comments

Comments
 (0)