Internet Explorer opening PDF's in Reader, not browser - html

I'm working on a web design project and I'm finding one problem when I load the web page in IE.
This is a link I'm using and when I load in Chrome/Firefox and click the link, it opens in a new tab as expected. But when I click it in IE it opens it in the Windows Reader. Is there a way to set IE to open it in a new tab liek the others?
thanks

Related

.NET Web Application Set Link to Open Only One New Tab in IE11

I'm working on a web application (IIS) targeting .NET 4.0 using Visual Studio 2015.
I have a link to a third party that I want to open in a new tab. However, if the user has already clicked it and opened the new tab and then they click the link again I don't want it to open yet another tab - it should use the tab it opened the first time they clicked.
I created a custom target name, as per this question:
How to limit the link open only once in new tab?
This works beautifully in Chrome, Firefox, and even Edge. However, it does not work in Internet Explorer - every click opens yet another tab, the same as setting the target to _blank
Unfortunately we are required to support IE11. Is there a way to get this to work in IE11?
EDIT: link code working in all but IE11
<a target="ThirdPartyLink" linkinfo="../THIRDPARTY/THIRDPARTYSSO.ASPX" href="#">Facility</a>
I finally got it to work in IE11 by adding the third-party URL to my Trusted Sites.

PDF-files on server will not open when link is clicked in browser

I've got a pdf on the network server that I'd like to view it in my browser. I do NOT want to download the pdf to view it.
I have the following link:
Click me!
It works and opens perfectly in Chrome, yay! (although it seems like it's only working when I'm logged on using my google-account)
When I click the link in Firefox, nothing happens, less yay...
If I, in Firefox, right-click the link, choose "Copy Link Location" and paste the link into the address field, it opens the pdf just fine.
I've tried using zero and up to 6 of those pesky / after file: just for making sure... I was desperate...
The plug-in for Acrobat Reader is up to date.
The reason for this not working is because of the security feature not allowing cross-usage of the protocols http:// and file://.
To solve this in Chrome, download a plugin called LocalLinks (link).
For Firefox, there is currently no solution afaik.
For Safari (versions 6+), you could possibly activate the Develop-menu for safari (open preferences, choose advanced and then check the box for "Show develop menu in menu bar") and then enable the option "Disable Local File Restriction". However, this is an untested solution.

IE9 open link in a new window/tab not working

Today I just noticed that Internet Explorer 9 will not open a new window/tab when clicking a link whose target is set as _blank. It will open the link on same tab itself.
Link should open in new tab
This feature is working on all other versions of IE
I tried this solution by microsoft but not working at all.
Did anyone have a working solution for this bug??
Let's type http:// before www.mydomain.com.
In IE9 you can only change TAB settings, there seems to be no place to change window behaviour.
I am also finding that when I try and open pages (any website) in a new window, ie opens it in the same window.
Its not about certain webpages. Something is definetely wrong with IE software. Even when you right click on a link and choose option stating "Open link in a new TAB" it still opens it in new window instead of a tab. This cant be issue with settings as those affect single left click mouse behavior and not a choice where you tell IE to open particular link in TAB! My IE settings although are set to open links in new tabs and same as when pop up is encountered its set to open in new tab. So sofware has issues. Please fix it

target="_blank" opens a new window in IE9, instead of a new tab

In my link, I have target="_blank" attribute, and it works in Chrome, Firefox, Opera, and of course, Safari and opens the link a new TAB. But When I click on it, in IE9 (and IE8) it opens a new window instead of being opened in a new tab. What should I do?
HTML and JavaScript provide no means to say if a new "window" should be a full window, or a tab, or whatever you want to call the Mobile Safari multiple views interface.
So you live with it.
You can see in this question that the target="_blank" is correct, but the way the browser handles this case is up to his settings.
You need to change IE8/9 settings to open that kind of target in a new tab. There's nothing you can do :|
This is configured browser side and theres nothing you can do about it in your html I'm afraid. Its just an option that a user sets in their browsers preferences.
You need to use the target="_blank" attribute to make links open in a new window or tab. Where the link actually opens is up to the browser settings. So if you have Tools > Internet Options > Tabbed Browsing Settings > "Always open pop-ups in new tabs" selected, a target="_blank" link will open in a new tab. Note that this type of link will open in a new window by default on most browsers.
Unchecking Protected Mode in IE9 resolved my problem.
Windows Internet Explorer 8 and later. When Protected Mode is enabled and a webpage contains an anchor link with a named target, Windows Internet Explorer opens the target of the link in a new window when the target has a different integrity level than the webpage containing the link.
Source: target attribute in IE

How to open html link in a new window instead of a new tab on Firefox and Chrome?

My links correctly open a new window when using IE8; but when I use Firefox or Chrome, they just open a new tab.
I am using the code target="_blank" for my links.
How do I fix this so it opens a new browser window and not just another tab?
This fix needs to be for everyone that views the page and not just for my personal use.
It is there with the browser, because they supports tabbing, it will open in a tab. Having said that, there are probably some settings for them in each browser as well as addons that control that, for example, in firefox, you can control window positioning, tabs and a lot more with Tab Mix Plus addon.
Note that you can also open in new window with window.open eg:
window.open('example.html', 'name', 'settings')