Why Google Viewer sometimes is opening a blank page instead of open the PDF file?
I could simulate it using this code. It doesn't happen every time. It will be necessary to click on the Google Viewer button few times.
I could simulate it on Edge and Chrome.
Pay attention to the two tabs after the tab title "Sem títlulo". They opened the PDF file perfectly. However, the tab with the title "Sem título" did not open the PDF.
EDIT
I'm using google docs viewer https://docs.google.com/viewer.
I try to test your code on the MS Edge legacy browser, MS Edge (Chromium) browser, Google Chrome browser, and Firefox browser.
I can reproduce the issue on all 4 browsers. So we can say that this is not a specific browser related issue.
I noticed that you are using Google docs viewer to display the PDF.
https://docs.google.com/viewer?
I try to display the PDF directly in the browser and found that it is working fine in every browser.
Test code:
Click to open PDF
Here is the test results in MS Edge (Chromium) browser.
So it looks like there is some issue with the Google docs viewer. You can try to provide feedback to Google about this issue.
To fix the issue in your code, you can try to directly display the PDF file as I show you in my sample code. You can notice that performance is also better.
Related
I am interested in messing with the built-in PDF viewer of Microsoft Edge. I know you can inspect its files in the Dev console, but I would like to know where these files are actually located so I can change them to alter/add some functionality.
Another possibility would be to run a user script when a PDF is loaded, but tampermonkey does not seem to work when a PDF file is opened in Edge.
Why I want to do this: I would like to see whether I can implement additional functions that I'd like to use in the PDF viewer. I know there are pdf js libraries out there, but I feel like none of them display pdfs as nicely as Edge does and I haven't found one that allows drawing on pdfs.
You can see the edge_pdf source code by inspect the page ,then click the Source panel, it show all the resource which edge_pdf loaded.
When I click on the print button it doesn't pop up print dialog box. Instead of it shows an error message saying "ERR_CONNECTION_RESET" .This print functions works properly on localhost.Please refer the screen shot for the further information.
My devExpress Version is 15.2.15.0
This bug seems to be related to the Chrome browser's PDF viewer specifics. To resolve this issue, disable Chrome's built-in PDF viewer and use the Adobe PDF viewer instead.
Go to chrome://settings/content/pdfDocuments (open pdf using different application)
I know this is a bit old question, but I need to get rid of the print dialog box in my HTML page.
I am concerned about the browsers - Google Chrome and Firefox. I have achieved my requirement using a plugin known as 'Seamless Print' for firefox. By using the plugin, I have been able to directly send the print to my printer.
The issue is with Google Chrome. I have read about 'kiosk-printing' and 'disable-print-preview' options that can be appended to the target field of the properties window of Google Chrome.
(eg: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-print-preview --kiosk --kiosk-printing)
By doing that, I am getting a full screen window with no means to enter URLs. Is there a plugin like 'Seamless Print' available for Google Chrome? How can I achieve the same solution in Google Chrome. Please help.
Our site has PDF's embedded into our pages which allow the user to print them. We have this working across all browsers/platforms using various techniques PDFjs/PDFObject/iframes etc...
However when it comes to the Edge none of these techniques print properly. Using the an iframe which I assume is using the native PDF viewer there is no print option (only Save As), If I print using the Edge toolbar I get all the html content around it (I appreciate that I could hide the rest of the content using css for the print, but I was hoping there would be a cleaner way). Using PDFjs prints the whole page not just the PDF. PDF Object just tells me I don't have Adobe Installed preumably because there is no ActiveX support.
So my questions are has anyone else worked out how to print out an embedded PDF in Edge yet? And if you have how?
Microsoft are aware of this issue in Edge, and are looking to introduce it in the upcoming Windows 10 Creators Update (Version 1703, AKA Redstone 2 or RS2), scheduled for Spring 2017.
As far as I can tell there is no current solution to this problem.
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7801755/
I have a Javascript image switcher on my products page. It working perfect in IE and Firefox but both Safari and Chrome fails to load the script on some pageloads. A refresh seems to fix it but when changing product page or language it crashes.
The product page
Im using Wordpress and the script is varal.org/media/imageswitcher/
Thanks!
Anton
I did not experience any issues in either Chrome or Safari for Windows on your product page. Try this in Chrome, to check if the two scripts (imageswitcherconf.js and imageswitcher.js) are being loaded:
Press Ctrl+Shift+J to open the JavaScript Console/Developer Tools window.
Click the Resources tab on the top of the window.
Enable resource tracking/script debugging if you have to.
With the JavaScript Console/Developer Tools window still open, perform an operation that would normally trigger a crash, such as switching languages.
On the left side of the window, under the Resources heading, you should see imageswitcherconf.js followed by imageswitcher.js. (For me, they appeared fourth and fifth in the list, respectively.)
If the files aren't being loaded:
Are you behind a caching proxy?
Is your browser cache clear?