{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/5835","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5835/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5835/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5835/events","html_url":"https://github.com/mozilla/pdf.js/issues/5835","id":60818765,"number":5835,"title":"Feature request: ToolTip preview of PDF links","user":{"login":"alexshtf","id":655356,"avatar_url":"https://avatars.githubusercontent.com/u/655356?v=3","gravatar_id":"","url":"https://api.github.com/users/alexshtf","html_url":"https://github.com/alexshtf","followers_url":"https://api.github.com/users/alexshtf/followers","following_url":"https://api.github.com/users/alexshtf/following{/other_user}","gists_url":"https://api.github.com/users/alexshtf/gists{/gist_id}","starred_url":"https://api.github.com/users/alexshtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexshtf/subscriptions","organizations_url":"https://api.github.com/users/alexshtf/orgs","repos_url":"https://api.github.com/users/alexshtf/repos","events_url":"https://api.github.com/users/alexshtf/events{/privacy}","received_events_url":"https://api.github.com/users/alexshtf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/2-feature","name":"2-feature","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-12T13:32:08Z","updated_at":"2015-03-24T15:39:28Z","closed_at":null,"body":"I have been reading a lot of scientific papers lately, and I would like to be able to see a small popup with the linked content when I hover over a PDF link. Usually, when there is a link to an equation of a theorem I don't want to go there, I just want a short reminder and continue reading. I believe that many people who read scientific papers would benefit.\r\n\r\nIt is something similar to Visual Studio's Peek Definition feature (http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Peek-Definition)"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/85565579","html_url":"https://github.com/mozilla/pdf.js/issues/5835#issuecomment-85565579","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5835","id":85565579,"user":{"login":"mbbaig","id":1588537,"avatar_url":"https://avatars.githubusercontent.com/u/1588537?v=3","gravatar_id":"","url":"https://api.github.com/users/mbbaig","html_url":"https://github.com/mbbaig","followers_url":"https://api.github.com/users/mbbaig/followers","following_url":"https://api.github.com/users/mbbaig/following{/other_user}","gists_url":"https://api.github.com/users/mbbaig/gists{/gist_id}","starred_url":"https://api.github.com/users/mbbaig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbbaig/subscriptions","organizations_url":"https://api.github.com/users/mbbaig/orgs","repos_url":"https://api.github.com/users/mbbaig/repos","events_url":"https://api.github.com/users/mbbaig/events{/privacy}","received_events_url":"https://api.github.com/users/mbbaig/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T15:39:28Z","updated_at":"2015-03-24T15:39:28Z","body":"Okay so inpecting a page loaded with a PDF that has both link types, I saw that it uses the \r\n```\r\nannotLink\r\n```\r\nclass to specify a link and the \r\n```\r\ninternalLink\r\n```\r\nclass to differentiate between the links types.\r\n\r\nSo I'm thinking that I should have a toggle avalaibel to enable preview on hover and then create a PDFPreviewer like the ```var PDFViewerApplication``` in the viewer.js."}}