But for some reason in Firefox it still prints the ugly URL. Am I putting it in the wrong space? Here's my code below
<script type='text/javascript'> sv1(function() { var viewerElement = document.getElementById('viewer'); var myWebViewer = new PDFTron.WebViewer({ type: 'html5', mobileRedirect: false, path: '/lib', config: '/lib/config.js', serverUrl: '/lib/html5/annotationHandler.php', enableAnnotations: true, annotationUser: 'by: guest', streaming: false, showToolbarControl: true, }, viewerElement); $(viewerElement).bind('documentLoaded', function(event){ myWebViewer.setZoomLevel(1); }); }); window.history.replaceState({}, window.document.title, '/my-new-path') </script>
And I've been wanting to ask one last thing for a while, it's pretty simple. How do I get the Webviewer to "automatically" display at a certain percentage? Like 80%?
On Friday, November 14, 2014 12:11:10 PM UTC-6, Matt Parizeau wrote: