Please give a brief summary of your issue:
I am running PDFTron with my custom UI. When I load a pdf with documentViewer.loadDocument() an iFrame gets appended to my body:
If you notice no changes with the custom UI when removing it, it should be okay to remove. You can read more about WebViewer’s iframe here: PDFTron Systems Inc. | Documentation
Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron
Some clarification here. This iframe is used for running embedded JavaScript that is inside some PDF files. It will be added regardless of whether you’re using the default WebViewer UI or WebViewer without an iframe. To clarify, this is not a bug.