{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/5952","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5952/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5952/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5952/events","html_url":"https://github.com/mozilla/pdf.js/pull/5952","id":69869020,"number":5952,"title":"[api-minor] Add an option to PDFJS for specifying the |target| attribute of external links (bug 976541)","user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-core","name":"1-core","color":"DDDDDD"},{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-viewer","name":"1-viewer","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-21T14:54:41Z","updated_at":"2015-08-19T09:48:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/5952","html_url":"https://github.com/mozilla/pdf.js/pull/5952","diff_url":"https://github.com/mozilla/pdf.js/pull/5952.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/5952.patch"},"body":"*For context, please refer to the discussion in PR #5893.*\r\n\r\n- `[api-minor] Add an option to PDFJS for specifying the |target| attribute of external links`\r\n  Replaces `PDFJS.openExternalLinksInNewWindow` with a more generic configuration option.\r\n*Note:* `PDFJS.openExternalLinksInNewWindow = true;` is equal to `PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK;`.\r\n\r\n- `Prevent external links from \"replacing\" the viewer when it's embedded (bug 976541)`\r\nFixes https://bugzilla.mozilla.org/show_bug.cgi?id=976541.\r\nThis patch also adds a `externalLinkTarget` preference, to make the behaviour user configurable.\r\n\r\n<!-- Reviewable:start -->\r\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/mozilla/pdf.js/5952)\r\n<!-- Reviewable:end -->\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/132518504","html_url":"https://github.com/mozilla/pdf.js/pull/5952#issuecomment-132518504","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5952","id":132518504,"user":{"login":"pdfjsbot","id":1036361,"avatar_url":"https://avatars.githubusercontent.com/u/1036361?v=3","gravatar_id":"","url":"https://api.github.com/users/pdfjsbot","html_url":"https://github.com/pdfjsbot","followers_url":"https://api.github.com/users/pdfjsbot/followers","following_url":"https://api.github.com/users/pdfjsbot/following{/other_user}","gists_url":"https://api.github.com/users/pdfjsbot/gists{/gist_id}","starred_url":"https://api.github.com/users/pdfjsbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdfjsbot/subscriptions","organizations_url":"https://api.github.com/users/pdfjsbot/orgs","repos_url":"https://api.github.com/users/pdfjsbot/repos","events_url":"https://api.github.com/users/pdfjsbot/events{/privacy}","received_events_url":"https://api.github.com/users/pdfjsbot/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T09:48:44Z","updated_at":"2015-08-19T09:48:44Z","body":"#### From: Bot.io (Linux)\n\n----\n\n# Received\n\nCommand **cmd_test** from @Snuffleupagus received. Current queue size: 0\n\nLive output at: http://107.21.233.14:8877/9dae1df53147373/output.txt"}}