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
Related
Clicking on a link to our webpage using
Link
opens a new tab and closes it immediatly. This happens on all browsers apparently. Deactivating adblock and alike does not change anything.
Using the url without target="_blank" or right click -> open in new Tab however works fine.
The web page is an angular project and does not use any sort of trackers. Furthermore this behavior started only recently, so I assume it's due to some change in the page.
Any hint why this happens or where to start debugging this?
Found it.
I had a line window.close(); due to a workaround for a popup for facebook login, implementing this:
Facebook Login not working in PWA app if app is in stand alone state
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.
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
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')
What combination of html and IE8 settings get IE8 to open links in a new tab. Or can you not do this with IE8, and you only get the new tabs by manually selecting File-> new/duplicate tab?
My website works in Firefox - pages on the site load in the current tab, and links off site load a new tab. IE8 won't behave: target="_blank" opens a whole new window; the other options, _self _top _parent, all open the page in the current tab.
I have Firefox set to "Open new windows in a new tab." The links to pages on my site all have target="_self" and Firefox keeps these in the current tab. On the external links I don't have a target set (I added _blank to see if it fixed IE8, and doing that didn't affect Firefox).
I can't find an equivalent setting in IE8. Tools-Internet Options-General-Tabs/Settings has an enable tabs box, and a sub-option to automatically switch to newly opened tabs. Is there some html that will work? An IE8 setting I'm missing?
Any help appreciated.
It is not a thing you can control from HTML code, as it should be user's, not document author's decision how to open a link.
To open pop-up windows in new tab, follow instructions from IE8 help:
To change how pop-ups are displayed
In Internet Explorer, click the Tools
button, and then click Internet
Options. Click the General tab, and
then, in the Tabs section, click
Settings. Make a selection in the
When a pop-up is encountered section.
Click OK twice.
Updated:
Reading OPs comments to other posts, it seems like the intent is to make all external links open in new tabs. However, it is not document author's choice how the client should open any link in any page - it has to be decided by the client. Moreover, even though you can create a client-side script which sets "target" property to open pop-up windows, there is no notion of "tab" in Document Object Model and hence you cannot do it even in a script.
The answer to the question was posted in the comments (but is now deleted). Now you can test it in IE8 - just use the middle mouse button to open the link in a new tab. Firefox does work better with tabs.
How the browser interprets the target is browser dependent - each vendor will specify what they want. Firefox decided to use a new tab, IE decided to use a new window.
The html 4.01 spec has this to say on "_blank":
The user agent should load the designated document in a new, unnamed window.
The spec predates the wide usage tabbed browsing now has, so doesn't mention the concept anywhere.
Opening a page in a new tab is concept that believe is not covered by the html standard. The Firefox behavior is just a setting in the browser, which IE8 might or might not have.
On a related note, I personally find it abusive of websites to make the choice of opening a page in a new tab/window. What if I want it to open in the current tab/window?
Of course, in a rich application-like site that is basically entirely an application I find it convenient that pages open in a new tab/window. This makes them work more like desktop apps
For normal pages, I would suggest not setting the target at all and let the user decide.
I think W3.org is still working on this issue, but it isn't implemented in any browser yet. Also remember that Internet Explorer will be the last browser to implement it ;)
This is code copied from a W3 Working Draft:
/* If a user wanted to have new windows open in new tabs instead, she could use the following user style sheet to do so: */
* { target-new: tab ! important }
Of course, it is impossible to set user preference in HTML or Javascript -- it would be unsafe.