IE opens a new window for a link, FF doesn't - html

Very strange, I have a list of products. When a user clicks on an the image it opens up a new IE window.
Firefox doesn't do this.
What could be the reason for this?
the urls are:
http://website.example.com
and clicking on the image goes to (which is hosted on another server):
http://store.website.example.com
Could this be some internal security measure or ?
Note: I don't have target=_blank and I even tried addign target=_self but no change.
Update
It turns out some javascript function was searching for certain urls and modifying its behaviour! thanks.

A new window is generally prompted by a target attribute on the A tag:
linktext
FF can supress/override this behaviour in it's preferences.

<a href="http://store.website.example.com" target="_blank">

Related

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

What's the magic of those links that will open a new browser like in firefox?

<a ... target="_blank">...</a>
This kind of link only opens a new tab,but some websites will open a new browser instance,what's the trick?
In Firefox, opening a link in a new tab or window is controlled by the browser's setting. There are ways to manipulate it such as:
window.open("", "test", "height=300,width=300,modal=yes,alwaysRaised=yes")
If both links are the same in all these websites, so there is a javascript window.open get called in the links which open new browser.
It is based on the browser settings, that why I said that if all links looks the same and some act different than other so there is some javascript work.
By the way,
If you set the target attribute to
"_blank", the link will open in a new
browser window or a new tab.
Based on the browser settings

How to make HTML open a hyperlink in another window or tab?

This is a line for a hyperlink in HTML:
Starfall
Thus, if I click on "Starfall" my browser - I am using FireFox - will take me to that new page and the contents of my window will change. I wonder, how can I do this in HTML so that the new page is opened in a new window instead of changing the previous one? Is there such a way in HTML?
And if yes, is there a way to open the requested page in another tab (not another window) of my browser?
Starfall
Whether it opens in a tab or another window though is up to how a user has configured her browser.
Simplest way is to add a target tag.
Starfall
Use a different value for the target attribute for each link if you want them to open in different tabs, the same value for the target attribute if you want them to replace the other ones.
use target="_blank"
<a target='_blank' href="http://www.starfall.com/">Starfall</a>
You should be able to add
target="_blank"
like
Starfall
The target attribute is your best way of doing this.
<a href="http://www.starfall.com" target="_blank">
will open it in a new tab or window. As for which, it depends on the users settings.
<a href="http://www.starfall.com" target="_self">
is default. It makes the page open in the same tab (or iframe, if that's what you're dealing with).
The next two are only good if you're dealing with an iframe.
<a href="http://www.starfall.com" target="_parent">
will open the link in the iframe that the iframe that had the link was in.
<a href="http://www.starfall.com" target="_top">
will open the link in the tab, no matter how many iframes it has to go through.
the target = _blank is will open in new tab or windows based on browser setting.
To force a new window use javascript onclick all three parts are needed. url, a name, and window width and height size or it will just open in a new tab.
<a onclick="window.open('http://www.starfall.com/','name','width=600,height=400')">Starfall</a>
You can also accomplish this by adding the following to your page's header:
<base target="_blank">
This will make ALL links on your page open in a new tab
Since web is evolving quickly, some things changes with time. For security issues, you might want to use the rel="noopener" attribute in conjuncture with your target="_blank".
Like stated in Google Dev Documentation, the other page can access your window object with the window.opener property. Your external link should looks like this now:
Starfall
below example with target="_blank" works for Safari and Mozilla
<a href="http://www.starfall.com" `target="_blank"`>
Using target="new"worked for Chrome
<a href="http://www.starfall.com" `target="new"`>

html - how do I make a page load in a new tab in IE8?

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.