Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add crossOrigin='anonymous' to snippet script #1481

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Oct 17, 2024

Changes

Updating the snippet and loaded scripts to use crossOrigin="anonymous"

See PostHog/posthog#25645 for more context

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Oct 17, 2024 10:59am

Copy link

Size Change: +156 B (+0.01%)

Total Size: 2.85 MB

Filename Size Change
dist/array.full.js 357 kB +26 B (+0.01%)
dist/array.js 171 kB +26 B (+0.02%)
dist/external-scripts-loader.js 2.38 kB +26 B (+1.11%)
dist/main.js 172 kB +26 B (+0.02%)
dist/module.full.js 357 kB +26 B (+0.01%)
dist/module.js 171 kB +26 B (+0.02%)
ℹ️ View Unchanged
Filename Size
dist/all-external-dependencies.js 192 kB
dist/array.full.no-external.js 356 kB
dist/array.no-external.js 170 kB
dist/exception-autocapture.js 11.3 kB
dist/module.full.no-external.js 356 kB
dist/module.no-external.js 170 kB
dist/recorder-v2.js 111 kB
dist/recorder.js 111 kB
dist/surveys-preview.js 59.8 kB
dist/surveys.js 66 kB
dist/tracing-headers.js 8.36 kB
dist/web-vitals.js 10.3 kB

compressed-size-action

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

snippets

@daibhin daibhin added the bump patch Bump patch version when this PR gets merged label Oct 17, 2024
@daibhin daibhin merged commit b925a7b into main Oct 17, 2024
17 checks passed
@daibhin daibhin deleted the dn-chore/add-anon branch October 17, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch Bump patch version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants