Title: Injecting Raven using anonymous script no longer works · Issue #635 · getsentry/sentry-javascript · GitHub
Open Graph Title: Injecting Raven using anonymous script no longer works · Issue #635 · getsentry/sentry-javascript
X Title: Injecting Raven using anonymous script no longer works · Issue #635 · getsentry/sentry-javascript
Description: I remember that just pasting the raven-js code into the Chrome console would cause Raven to be added to window, but now that doesn't work. Even doing something like this doesn't result in window.Raven being defined. (function(d, s, id){ ...
Open Graph Description: I remember that just pasting the raven-js code into the Chrome console would cause Raven to be added to window, but now that doesn't work. Even doing something like this doesn't result in window.Ra...
X Description: I remember that just pasting the raven-js code into the Chrome console would cause Raven to be added to window, but now that doesn't work. Even doing something like this doesn't result in w...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/635
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Injecting Raven using anonymous script no longer works","articleBody":"I remember that just pasting the raven-js code into the Chrome console would cause `Raven` to be added to `window`, but now that doesn't work. Even doing something like this doesn't result in `window.Raven` being defined.\n\n```\n(function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)){ return; }\n js = d.createElement(s); js.id = id;\n js.onload = function(){\n // remote script has loaded\n };\n js.src = \"//cdn.ravenjs.com/3.1.0/raven.min.js\";\n fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'raven-js'));\n```\n\nIs this intended or am I doing something wrong?\n","author":{"url":"https://github.com/mlb5000","@type":"Person","name":"mlb5000"},"datePublished":"2016-06-30T17:12:53Z","url":"https://github.com/getsentry/sentry-javascript/issues/635"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4df458fc-64f4-6ff5-20bb-85091db59c16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB76:38627B:21AEEA:2D75F7:6B0431C2 |
| html-safe-nonce | 7db1556bf378073a784b7df9688bf93ee9fd4601c4bf7511fbfef979e7ace7db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjc2OjM4NjI3QjoyMUFFRUE6MkQ3NUY3OjZCMDQzMUMyIiwidmlzaXRvcl9pZCI6Ijc5NTY4MjI3ODkwNjYwNzY2MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ef40d0347641e6094803d2c0652f4f78a22c1bbdc43f5fdcd437f17d018bfe52 |
| hovercard-subject-tag | issue:163217311 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/635/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a7775a12406d16ad97a66b63b9159c08024f7c90828bb531dee6a63eb056a59/getsentry/sentry-javascript/issues/635 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a7775a12406d16ad97a66b63b9159c08024f7c90828bb531dee6a63eb056a59/getsentry/sentry-javascript/issues/635 |
| og:image:alt | I remember that just pasting the raven-js code into the Chrome console would cause Raven to be added to window, but now that doesn't work. Even doing something like this doesn't result in window.Ra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mlb5000 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width