I have a link in a pdf-document (PDF1), which is embedded in a browser instance. Or let's say the Adobe Reader is embedded in a browser window.
In this pdf-document (PDF2) is a link to a servlet, which view opens another pdf-file.
Now the new pdf-document is opened in a embedded Adobe Reader in the same browser window. How can this document (PDF2) be opened in a new browser window with a new embedded Adobe Reader?
Does this depend on the editor tool used for the generation of the pdf-document?
PS: I am not creating the first one (PDF1), but I am faced with the question, how to open the second one (PDF2) in a new window, so the first document is not "lost" and has to be reopened again.
I think you can't do this without changing Acrobat Reader. What happens is this:
You download the first file.
IE notices "PDF" and embeds Acrobat Reader. The reader gets the URL as an argument. Despite the fact that AR renders the document inside of an IE window, AR is now in full control of the document. So when you click on a link, it's AR (and not IE) who processes the event and downloads the second document.
I suggest to try Foxit Reader or some other PDF reader which doesn't use a "single document" UI. Foxit uses tabs and can display several PDF documents.
They are faster, too and more comfortable to use.
[EDIT] Actually, AR calls the OS to handle the link. You can achieve the same effect by copy an URL into the clipboard and then click on the "Start" button and "Run...". Paste the URL into the dialog. Or open a command line prompt and paste the URL at the prompt.
The OS will start downloading the file, determine the type and then directly invoke the application which is registered for that type. IE does the same thing which has caused some of the security holes in the past (site offers IE some data which seems to be of type XXX but is in fact a virus. IE will call the OS to execute it and user wonders how he got infected).
Related
I'm teaching a Year7 class via Zoom on writing HTML, and I have one student on an iPad (the rest are on desktops/laptops), and they're not able to get their webpage to open in Safari (I'm using Chrome on Windows, which of course is simply a matter of double-clicking on the file). I'm trying to see what she sees, but I think Zoom is possibly not showing me the pop-up dialogues. She is using Notes to write the page (which looked to be the closest iOS equivalent to Notepad).
I Googled and sent her a few blogs, but still not working. I said she needs to click on Share and look for something like "copy path to file" or "copy link", and then paste that into the Safari address bar. She said when she did that Safari was showing the source code, not the rendered page. When she just taps the file it opens in Notes, not Safari. That made me suspect her file was actually index.html.txt (she tells me she has extensions switched on), but when I sent her my own file, which is definitely only index.html, she says the same thing is happenning.
Is anyone able to give me some definite step-by-step instructions (this is for a Year 7 student) on how to open their local HTML page in Safari?
thanks,
Donald.
Safari iPad no longer supports access to local or iCloud files. A number of iPadOS apps will however allow a user to view, edit, and test html code in files stored in local iPad, iCloud, or third party (e.g. Google or Dropbox) storage folders. One needs only to search in the App Store for “html editor” to see the list. Some of the apps have features that rival or exceed those found in tools on desktop (laptop) systems.
I had the same issue today on ios15.
There is a free app called Koder available on the App Store which will let you edit and view the HTML file. I’m no expert but the editor looks pretty fully featured at first glance.
Sorry to say but an iPad is obviously not the best place for simple HTML editing. At least not with the default apps available on iOS.
Given an existing HTML File one can use Files app to navigate to it and open it with double click. This will open the file in a very simple viewer wich is at least able to render the HTML. As a developer i bet its using WKWebView which is basically Safari's HTML View.
Turns out Microsoft Edge, unlike Safari, can still open local html files. Discovered in this answer. To wit:
Install Microsoft Edge from the App Store
Open Files (or whatever file browsing app you like).
Open the file, then tap the Share button to send to another app.
Scroll across to "More...", choose Edge, and voila!
Is there any setting for printing silently with Adobe Reader? I want to print pdf without print dialog box in chrome?
You can't... at least not with Adobe Reader.
First, Chrome no longer supports the Adobe Reader for displaying PDF so the PDF will either open in the built-in Chrome viewer or will download and open in Adobe Reader depending on your settings.
Second, the JavaScript methods to control printing from Adobe Reader are privileged functions that require user permission to execute.
You can get around these limitations but it requires that the recipient of the PDF establish trust with either a digital certificate that you sign the PDF with or trust your domain. But in all cases, the user must opt-in before printing will execute silently... so... it's not exactly silent.
Is there anyway to embed a fillable pdf form on a web page that the viewer would be able to fill out and send with the Adobe submit function? without having to click through or download the actual pdf
thanks
By default, the Adobe Reader will display a PDF in Protected Mode when it's viewed in a browser, for security reasons it's basically not interactive. Users can add your domain to a trusted host and then the PDF becomes interactive.
However, you can't really count on the PDF being opened in an Adobe viewer (Reader or Acrobat) when it's opened in a browser even when an Adobe viewer is installed on the machine and set as the default handler for that file type. The most common browsers have PDF viewers built in that just don't function in the same way as their Adobe counterparts.
You're really much better off linking to the PDF form in a way that forces the PDF to download (through .htaccess or something) and open in the default handler.
I made a button for a PDF download that is working well in Chrome but it doesn´t open in Mozilla.
This is the code I used:
<a target="_blank" href="http://gerster.com/docs/posamenten_neuheiten_2014_2.pdf">Jetzt PDF-Katalog herunterladen</a>
What could be wrong?
Note: No error is showing up.
Q Using window.open or "target=" such as blank it doesn´t open in ### Browser
What could be wrong?
It is up to each user to download or permit binary.PDF running in a browser viewport after download, this is especially true after download fron any non trusted site.
OOB many browsers assume they can sandbox the PDF download and then allow as default action review of the PDF file. Chromeium based browsers like Edge may be more inclined to use that before the user improves their security.
So the 1st task for a user should be to switch off Edge auto viewing of PDFs and switch to a more secure setting.
In that case Edge / Chrome and other browsers will NOT auto run the downloaded PDF but ask the user if they wish to View after Download or simply Download.
One of the possible values of that attribute is _blank, which tells the browser to open a new window (or tab, if that’s the user’s preference) when that link is clicked.
This used to be “invalid” in HTML
see A Bad Reason: The link is to a PDF
If you are going to do it, not only do you need the target attribute for the functionality, you need to rel attribute for security.
So do not open yourserver to security issues blacklist or pop-up blocking see https://mathiasbynens.github.io/rel-noopener/
Don’t use target=_blank (or any other target that opens a new navigation context), especially for links in user-generated content, unless you have a good reason
I am running windows XP 2003 sp3. Ie is the default browser. If I have a web page open and then open a local web page it will always open it in the existing window. I want local web pages and url shortcuts to always open in a new window. How can I do this?
Somehow I don't think you are asking for programming help but I'm going to respond appropriate to the forum. Use the target attribute on your links to force browser window/tab actions. Valid standard options are: _self, _blank, _top, _parent. Use _blank to force the link to open in a new tab/window as per the default behaviour you have setup in IE.
Example
I don't think this can be done. The thing is windows XP will tend to open any local web page files and its shortcuts with the "Default Programs" that's mapped to that file type. So in your case, the IE being the default browser program, it opens in a new tab.
The same file will open up starting IE if there isn't any instance of IE already running. So I think the simple way to do your need is to have another IE instance running, and drag-drop the file you wan't to open into the IE window, which will open it.
P.S: other browsers like chrome allows dragging the tab outside the window to open up in a different window.