I am posting a form for IFRAME (target) which returns a PDF (content-disposition = inline; filename = "x.pdf").
This works with current Chrome and Firefox browsers and a built-in PDF viewer.
The only problem is that Chrome cannot save the PDF (it tries to save x.html without content) (using Ctrl + S and with the icon on the PDF toolbar).
Any ideas?
Actually, this is a limitation from the built-in Chrome PDF Viewer browser. You cannot save a PDF file if it is displayed in an iframe using the Chrome PDF viewer (plugin).
Using the Adobe Reader plugin for Chrome works great.
Greetings
Source: https://habr.com/ru/post/1499788/More articles:mongoid query collection, where two columns are equal to each other - ruby-on-railsWowza + Live Streaming + Windows Phones? - windows-phone-8Syntax error in MATLAB recurrence equation - matlabHow to get the current location of the device and show it on a map fragment in a fragment - androidUsing wxPython to input user data - pythonIOS - white font with black border? - iosAngular.js - data from an AJAX request as an ng-repeat collection - angularjs@Async through proxy classes throws an exception in Spring 3.2 - javaWhy String class extends Object - javaEPG from multicast to xml or any other file - multicastAll Articles