{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-js/issues/635","repository_url":"https://api.github.com/repos/getsentry/raven-js","labels_url":"https://api.github.com/repos/getsentry/raven-js/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-js/issues/635/comments","events_url":"https://api.github.com/repos/getsentry/raven-js/issues/635/events","html_url":"https://github.com/getsentry/raven-js/issues/635","id":163217311,"number":635,"title":"Injecting Raven using anonymous script no longer works","user":{"login":"mlb5000","id":207508,"avatar_url":"https://avatars.githubusercontent.com/u/207508?v=3","gravatar_id":"","url":"https://api.github.com/users/mlb5000","html_url":"https://github.com/mlb5000","followers_url":"https://api.github.com/users/mlb5000/followers","following_url":"https://api.github.com/users/mlb5000/following{/other_user}","gists_url":"https://api.github.com/users/mlb5000/gists{/gist_id}","starred_url":"https://api.github.com/users/mlb5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlb5000/subscriptions","organizations_url":"https://api.github.com/users/mlb5000/orgs","repos_url":"https://api.github.com/users/mlb5000/repos","events_url":"https://api.github.com/users/mlb5000/events{/privacy}","received_events_url":"https://api.github.com/users/mlb5000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T17:12:53Z","updated_at":"2016-06-30T17:45:40Z","closed_at":null,"body":"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.\r\n\r\n```\r\n(function(d, s, id){\r\n    var js, fjs = d.getElementsByTagName(s)[0];\r\n    if (d.getElementById(id)){ return; }\r\n    js = d.createElement(s); js.id = id;\r\n    js.onload = function(){\r\n        // remote script has loaded\r\n    };\r\n    js.src = \"//cdn.ravenjs.com/3.1.0/raven.min.js\";\r\n    fjs.parentNode.insertBefore(js, fjs);\r\n}(document, 'script', 'raven-js'));\r\n```\r\n\r\nIs this intended or am I doing something wrong?"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-js/issues/comments/229735100","html_url":"https://github.com/getsentry/raven-js/issues/635#issuecomment-229735100","issue_url":"https://api.github.com/repos/getsentry/raven-js/issues/635","id":229735100,"user":{"login":"mlb5000","id":207508,"avatar_url":"https://avatars.githubusercontent.com/u/207508?v=3","gravatar_id":"","url":"https://api.github.com/users/mlb5000","html_url":"https://github.com/mlb5000","followers_url":"https://api.github.com/users/mlb5000/followers","following_url":"https://api.github.com/users/mlb5000/following{/other_user}","gists_url":"https://api.github.com/users/mlb5000/gists{/gist_id}","starred_url":"https://api.github.com/users/mlb5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlb5000/subscriptions","organizations_url":"https://api.github.com/users/mlb5000/orgs","repos_url":"https://api.github.com/users/mlb5000/repos","events_url":"https://api.github.com/users/mlb5000/events{/privacy}","received_events_url":"https://api.github.com/users/mlb5000/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T17:45:40Z","updated_at":"2016-06-30T17:45:40Z","body":"This appears to have broken as of v1.2.0"}}
{"actor":{"display_login":"mlb5000"}}