Hi Mirko,
It looks like you are using the legacy UI.
Legacy UI is composed of two different viewer apps for desktop and mobile, and it tries to autoload mobile viewer for appropriate devices based on navigator.userAgent.
However, we did notice that Edge on desktop sometimes returns true to cover touch screen desktops.
Based on your requirement, you have the following options:
1. Overwrite PDFTron.WebViewer.prototype.isMobileDevice to return false, which will never load mobile viewer even in mobile devices.
2. Overwrite PDFTron.WebViewer.prototype.isMobileDevice to handle Edge properly.
3. Use the new default UI which uses single viewer app for both desktop and mobile.
You can see the current implementation of isMobileDevice function in WebViewer/lib/webviewer.js
Justin Jung
Software Developer
PDFTron Systems Inc.