{"action":"created","issue":{"url":"https://api.github.com/repos/obsproject/obs-browser/issues/137","repository_url":"https://api.github.com/repos/obsproject/obs-browser","labels_url":"https://api.github.com/repos/obsproject/obs-browser/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/obsproject/obs-browser/issues/137/comments","events_url":"https://api.github.com/repos/obsproject/obs-browser/issues/137/events","html_url":"https://github.com/obsproject/obs-browser/pull/137","id":367496990,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwOTEyMzMy","number":137,"title":"Issue 87 - Javascript Injection to Browser component","user":{"login":"spiegeleixxl","id":761911,"node_id":"MDQ6VXNlcjc2MTkxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/761911?v=4","gravatar_id":"","url":"https://api.github.com/users/spiegeleixxl","html_url":"https://github.com/spiegeleixxl","followers_url":"https://api.github.com/users/spiegeleixxl/followers","following_url":"https://api.github.com/users/spiegeleixxl/following{/other_user}","gists_url":"https://api.github.com/users/spiegeleixxl/gists{/gist_id}","starred_url":"https://api.github.com/users/spiegeleixxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiegeleixxl/subscriptions","organizations_url":"https://api.github.com/users/spiegeleixxl/orgs","repos_url":"https://api.github.com/users/spiegeleixxl/repos","events_url":"https://api.github.com/users/spiegeleixxl/events{/privacy}","received_events_url":"https://api.github.com/users/spiegeleixxl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-06T21:21:41Z","updated_at":"2018-10-08T23:37:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/obsproject/obs-browser/pulls/137","html_url":"https://github.com/obsproject/obs-browser/pull/137","diff_url":"https://github.com/obsproject/obs-browser/pull/137.diff","patch_url":"https://github.com/obsproject/obs-browser/pull/137.patch"},"body":"Hey there!\r\n\r\nI felt the urge to fix this issue, as I was having some ideas regarding what to display (for example just a certain issue in GitHub) on my stream. So I added this very rudimentary version.\r\nIt compiled fine and works just as expected, with following example:\r\nhttps://github.com/SpiegelEiXXL-WGJ-Creations/WGJ64-DungeonCrawiching/issues/6\r\n+\r\ndocument.body.innerHTML = document.getElementsByClassName(\"unminimized-comment\")[0].outerHTML;\r\n\r\n![properties_for__browser_](https://user-images.githubusercontent.com/761911/46575876-3120c300-c9be-11e8-9d0c-94b5597344cc.png)\r\n=> \r\n![properties_for__browser__and_obs_22_0_2-168-g047e586e-modified__mac__-_profile__untitled_-_scenes__untitled](https://user-images.githubusercontent.com/761911/46575859-10586d80-c9be-11e8-82d0-04ea66a0ca8d.png)\r\n\r\nYou DEFINITLY have to watch the console tho, since javascript errors will be reported just there, any disappear in the everlasting log of messages:\r\n![image](https://user-images.githubusercontent.com/761911/46575894-865cd480-c9be-11e8-9dfd-cc5e2b8acc9e.png)\r\n\r\nIf you need anything else regarding this issue, let me know!"},"comment":{"url":"https://api.github.com/repos/obsproject/obs-browser/issues/comments/428012484","html_url":"https://github.com/obsproject/obs-browser/pull/137#issuecomment-428012484","issue_url":"https://api.github.com/repos/obsproject/obs-browser/issues/137","id":428012484,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODAxMjQ4NA==","user":{"login":"DDRBoxman","id":207897,"node_id":"MDQ6VXNlcjIwNzg5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/207897?v=4","gravatar_id":"","url":"https://api.github.com/users/DDRBoxman","html_url":"https://github.com/DDRBoxman","followers_url":"https://api.github.com/users/DDRBoxman/followers","following_url":"https://api.github.com/users/DDRBoxman/following{/other_user}","gists_url":"https://api.github.com/users/DDRBoxman/gists{/gist_id}","starred_url":"https://api.github.com/users/DDRBoxman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DDRBoxman/subscriptions","organizations_url":"https://api.github.com/users/DDRBoxman/orgs","repos_url":"https://api.github.com/users/DDRBoxman/repos","events_url":"https://api.github.com/users/DDRBoxman/events{/privacy}","received_events_url":"https://api.github.com/users/DDRBoxman/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T23:37:27Z","updated_at":"2018-10-08T23:37:27Z","author_association":"MEMBER","body":"Can we make the default injected javascript some commented out warning about pasting random code?\r\n \r\nDiscord's console has a pretty good warning on it. I just want to make sure that users don't get cookies, etc. stolen\r\n\r\n![screen shot 2018-10-08 at 6 36 15 pm](https://user-images.githubusercontent.com/207897/46638971-23d41780-cb29-11e8-8b0a-ae76ffcb5418.png)\r\n"}}
{"actor":{"display_login":"DDRBoxman"}}