In JIRA, I have noticed that when one clicks to view an already uploaded PDF, the software brings the PDF in without opening a new tab, like a single page application does. I have tested Google dictionary and Google translator there, and they function pretty well. Thus, a possible way to deal with the issue would be to find an extension which runs the PDF like a single page application in a web page.