{"action":"created","issue":{"url":"https://api.github.com/repos/googleanalytics/autotrack/issues/62","repository_url":"https://api.github.com/repos/googleanalytics/autotrack","labels_url":"https://api.github.com/repos/googleanalytics/autotrack/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/googleanalytics/autotrack/issues/62/comments","events_url":"https://api.github.com/repos/googleanalytics/autotrack/issues/62/events","html_url":"https://github.com/googleanalytics/autotrack/issues/62","id":152019018,"number":62,"title":"Target _blank will cause serious failures","user":{"login":"yamlfd","id":4450722,"avatar_url":"https://avatars.githubusercontent.com/u/4450722?v=3","gravatar_id":"","url":"https://api.github.com/users/yamlfd","html_url":"https://github.com/yamlfd","followers_url":"https://api.github.com/users/yamlfd/followers","following_url":"https://api.github.com/users/yamlfd/following{/other_user}","gists_url":"https://api.github.com/users/yamlfd/gists{/gist_id}","starred_url":"https://api.github.com/users/yamlfd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamlfd/subscriptions","organizations_url":"https://api.github.com/users/yamlfd/orgs","repos_url":"https://api.github.com/users/yamlfd/repos","events_url":"https://api.github.com/users/yamlfd/events{/privacy}","received_events_url":"https://api.github.com/users/yamlfd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-30T09:00:40Z","updated_at":"2016-04-30T21:05:10Z","closed_at":null,"body":"I have reviewed your code because of https://www.drupal.org/node/2671716 and found some issues with the code.\r\n\r\nThis open _blank causes serious malfunctions.\r\n```\r\nif (!navigator.sendBeacon) {\r\n      link.target = '_blank';\r\n    }\r\n```\r\n\r\nThe following issues and amyn other will arise:\r\n\r\n- https://www.drupal.org/node/1057914"},"comment":{"url":"https://api.github.com/repos/googleanalytics/autotrack/issues/comments/215995484","html_url":"https://github.com/googleanalytics/autotrack/issues/62#issuecomment-215995484","issue_url":"https://api.github.com/repos/googleanalytics/autotrack/issues/62","id":215995484,"user":{"login":"philipwalton","id":326742,"avatar_url":"https://avatars.githubusercontent.com/u/326742?v=3","gravatar_id":"","url":"https://api.github.com/users/philipwalton","html_url":"https://github.com/philipwalton","followers_url":"https://api.github.com/users/philipwalton/followers","following_url":"https://api.github.com/users/philipwalton/following{/other_user}","gists_url":"https://api.github.com/users/philipwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/philipwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipwalton/subscriptions","organizations_url":"https://api.github.com/users/philipwalton/orgs","repos_url":"https://api.github.com/users/philipwalton/repos","events_url":"https://api.github.com/users/philipwalton/events{/privacy}","received_events_url":"https://api.github.com/users/philipwalton/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T21:05:10Z","updated_at":"2016-04-30T21:05:10Z","body":"An inline click handler is one that's inserted directly into the HTML source. For example:\r\n\r\n```html\r\n<a onclick=\"alert('hello')\">...</a>\r\n```\r\n\r\nIn the thread you linked to, the bug reporter describes the following inline event handler `target=\"onclick = \"window.open (this.href); return false;\"` (which I think actually is a typo because that's not valid HTML, so it's hard to say for sure what the problem is in that bug)."}}