{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/5351","labels_url":"https://api.github.com/repos/facebook/react/issues/5351/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/5351/comments","events_url":"https://api.github.com/repos/facebook/react/issues/5351/events","html_url":"https://github.com/facebook/react/issues/5351","id":114438059,"number":5351,"title":"Uncaught ReferenceError: React is not defined","user":{"login":"ifedorov","id":3338953,"avatar_url":"https://avatars.githubusercontent.com/u/3338953?v=3","gravatar_id":"","url":"https://api.github.com/users/ifedorov","html_url":"https://github.com/ifedorov","followers_url":"https://api.github.com/users/ifedorov/followers","following_url":"https://api.github.com/users/ifedorov/following{/other_user}","gists_url":"https://api.github.com/users/ifedorov/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedorov/subscriptions","organizations_url":"https://api.github.com/users/ifedorov/orgs","repos_url":"https://api.github.com/users/ifedorov/repos","events_url":"https://api.github.com/users/ifedorov/events{/privacy}","received_events_url":"https://api.github.com/users/ifedorov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-31T22:26:39Z","updated_at":"2015-11-05T02:29:28Z","closed_at":"2015-11-05T02:29:28Z","body":"Can not inject react js on some sites\r\n\r\n\r\nExample: https://www.victoriassecret.com/\r\n\r\ninsert in chrome console\r\n\r\n```javascript\r\nvar e = document.createElement('script');\r\ne.src='https://cdnjs.cloudflare.com/ajax/libs/react/0.14.1/react.js'\r\ndocument.head.appendChild(e);\r\n```\r\nafter couple seconds type:\r\n```javascript\r\nReact\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/153934146","html_url":"https://github.com/facebook/react/issues/5351#issuecomment-153934146","issue_url":"https://api.github.com/repos/facebook/react/issues/5351","id":153934146,"user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T02:29:28Z","updated_at":"2015-11-05T02:29:28Z","body":"And mentioned the browser bundle uses UMD so it will work in multiple environments. I would recommend either bundling a version of React that you build yourself from npm or detecting the environment of the page. We won't be changing how our build works."}}