{"action":"created","issue":{"url":"https://api.github.com/repos/pizzacat83/ut-betteropac/issues/1","repository_url":"https://api.github.com/repos/pizzacat83/ut-betteropac","labels_url":"https://api.github.com/repos/pizzacat83/ut-betteropac/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pizzacat83/ut-betteropac/issues/1/comments","events_url":"https://api.github.com/repos/pizzacat83/ut-betteropac/issues/1/events","html_url":"https://github.com/pizzacat83/ut-betteropac/issues/1","id":352375777,"node_id":"MDU6SXNzdWUzNTIzNzU3Nzc=","number":1,"title":"login() Endlessly Generates Login Tabs","user":{"login":"pizzacat83","id":17941141,"node_id":"MDQ6VXNlcjE3OTQxMTQx","avatar_url":"https://avatars2.githubusercontent.com/u/17941141?v=4","gravatar_id":"","url":"https://api.github.com/users/pizzacat83","html_url":"https://github.com/pizzacat83","followers_url":"https://api.github.com/users/pizzacat83/followers","following_url":"https://api.github.com/users/pizzacat83/following{/other_user}","gists_url":"https://api.github.com/users/pizzacat83/gists{/gist_id}","starred_url":"https://api.github.com/users/pizzacat83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizzacat83/subscriptions","organizations_url":"https://api.github.com/users/pizzacat83/orgs","repos_url":"https://api.github.com/users/pizzacat83/repos","events_url":"https://api.github.com/users/pizzacat83/events{/privacy}","received_events_url":"https://api.github.com/users/pizzacat83/received_events","type":"User","site_admin":false},"labels":[{"id":1027961862,"node_id":"MDU6TGFiZWwxMDI3OTYxODYy","url":"https://api.github.com/repos/pizzacat83/ut-betteropac/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T03:50:39Z","updated_at":"2018-08-21T04:15:58Z","closed_at":"2018-08-21T04:14:20Z","author_association":"OWNER","body":"login() runs every 5 minutes and opens a login tab. If the user ignores the tab, the login form won't be sent and the tab stays there. This occurs every 5 minutes and leaves many login tabs."},"comment":{"url":"https://api.github.com/repos/pizzacat83/ut-betteropac/issues/comments/414544562","html_url":"https://github.com/pizzacat83/ut-betteropac/issues/1#issuecomment-414544562","issue_url":"https://api.github.com/repos/pizzacat83/ut-betteropac/issues/1","id":414544562,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDU0NDU2Mg==","user":{"login":"pizzacat83","id":17941141,"node_id":"MDQ6VXNlcjE3OTQxMTQx","avatar_url":"https://avatars2.githubusercontent.com/u/17941141?v=4","gravatar_id":"","url":"https://api.github.com/users/pizzacat83","html_url":"https://github.com/pizzacat83","followers_url":"https://api.github.com/users/pizzacat83/followers","following_url":"https://api.github.com/users/pizzacat83/following{/other_user}","gists_url":"https://api.github.com/users/pizzacat83/gists{/gist_id}","starred_url":"https://api.github.com/users/pizzacat83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizzacat83/subscriptions","organizations_url":"https://api.github.com/users/pizzacat83/orgs","repos_url":"https://api.github.com/users/pizzacat83/repos","events_url":"https://api.github.com/users/pizzacat83/events{/privacy}","received_events_url":"https://api.github.com/users/pizzacat83/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T04:15:58Z","updated_at":"2018-08-21T04:15:58Z","author_association":"OWNER","body":"```javascript\r\nchrome.tabs.query({url:\"https://gidp.adm.u-tokyo.ac.jp/*\"}, callback)\r\nchrome.tabs.query({url:\"https://sts.adm.u-tokyo.ac.jp/*\"}, callback)\r\n```\r\nmight be useful but I don't know how to handle the two callback.\r\n\r\nSetTimeout doesn't work in this case because login() includes async process.\r\n\r\nSo I simply set a variable `login_open` that shows if the login process is finished."}}
{"actor":{"display_login":"pizzacat83"}}