zulip/templates
Alex Vandiver 1833afee6a js: Enable cross-origin error debugging with crossorigin="anonymous".
If the script comes from a different origin than the requesting page,
and is not marked `crossorigin="anonymous"`, the `window.onerror`
handler receives no information other than "Script error." in the
event of a runtime error.

This effectively silences blueslip errors in development if the user
is developing on a remote host (such as a DigitalOcean droplet), since
static resources are served from `hostname.zulipdev.org`, and the
realm is served from `realmname.hostname.zulipdev.org`.  It also
silenced blueslip reporting in production for any non-default (non-"")
realms.  Sentry reporting, Vagrant developments, and truly ancient or
insecure browsers were unaffected.

Add the necessary `crossorigin="anonymous"` attribute to the
`<script>` tag to allow blueslip access to this error information.
2023-04-13 14:59:58 -07:00
..
analytics support: Add option to upgrade an org to Plus plan on /activity/support. 2023-04-10 17:32:45 -07:00
confirmation google_analytics: Track realm registration separately from user signup. 2023-03-08 11:34:36 -08:00
corporate billing: Tweak "contact support" links on billing page. 2023-03-27 10:15:21 -07:00
tests
two_factor templates: Prevent dangling end tags. 2021-11-23 15:55:54 -08:00
zerver js: Enable cross-origin error debugging with crossorigin="anonymous". 2023-04-13 14:59:58 -07:00
zilencer
.gitignore
404.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
500.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00