Target='_blank' to show in new window, NOT new tab, possible?

target retail
target california
target uk
target account
target hours
target login
target online sale
target online ordering

How can I do this?

In firefox the link opens in a new tab... I don't want users to have to set settings of their browsers for this...

I want a pop-up to appear with contact-form whenever user clicks 'contact' on my main page.

How should I do this?

You cannot control this - it's entirely at the discretion of the user-agent; which is the point, after all. All you can specify is that the page be opened in a different viewpane context, and it's up to the user to decide how they want your window to take up their screen space/taskbar list/Alt-Tab shortcuts etc.

In fact I'd go even further and say that if at all possible you should avoid opening up a new tab/window at all. I know that I get a little annoyed when websites do this, and it feels a bit clunky and 1990s what with all the Ajax and floating divs and magic we have nowadays.

Which Target stores are closing?, all stores by 9 p.m. daily to help us replenish and deeply clean our stores. Shop Target online and in-store for everything from groceries and essentials to clothing and electronics. Save 5% every day with your Target RedCard.

This is working fine, "Popup", "location,status,scrollbars,resizable,width=800, height=800");

For all parameters see

Target's coronavirus response, Roses are red, violets are blue, hope you have a good day and we miss you, too. Target plays an important role in supporting our communities during times of crisis. Apply today to join our store and distribution center teams, and learn more about Target’s coronavirus response

<a href="'','blank')">Contact</a>

Order Pickup, 4.4m Followers, 5027 Following, 1711 Posts - See Instagram photos and videos from Target (@target) Target may provide my personal information to service providers (some of whom may be located outside Australia) to assist with services like data processing, data analysis, printing, contact centre services, business consulting, auditing, archival, delivery and mailing services.

I believe this is a browser-only setting that cannot be set from HTML or Javascript.

Target ✓, Now the Target app can help you have a more rewarding Target run! Introducing Target Circle, which gives you access to hundreds of deals, a birthday gift and  My Account. Free 2-day shipping on eligible items with $35+ orders* REDcard - save 5% & free shipping on most items see details. My Account.

If you want to use this thing using Code Behind then it will also work...

protected void lnkAddNewWorkout_Click(object sender, EventArgs e)
  //  Response.Write("<script>'MyCreatedWorkout.aspx','_blank');</script>");    //it Open in new tab

    ResponseHelper.Redirect("MyCreatedWorkout.aspx", "_blank", "menubar=0,width=700,height=700");


 public static class ResponseHelper
        public static void Redirect(string url, string target, string windowFeatures)
            HttpContext context = HttpContext.Current;
        if ((String.IsNullOrEmpty(target) ||
            target.Equals("_self", StringComparison.OrdinalIgnoreCase)) &&

            Page page = (Page)context.Handler;
            if (page == null)
                throw new InvalidOperationException(
                    "Cannot redirect to new window outside Page context.");
            url = page.ResolveClientUrl(url);

            string script;
            if (!String.IsNullOrEmpty(windowFeatures))
                script = @"""{0}"", ""{1}"", ""{2}"");";
                script = @"""{0}"", ""{1}"");";

            script = String.Format(script, url, target, windowFeatures);

Refrenced By:

Target Corporation, Pamper dad on Father's Day with gift ideas from the kids like cards, crafts, DIY baskets & shirts to show the love. TargetFamily Activities · Slip into comfy outfits and  Target's Return Policy Most unopened items sold by Target in new condition and returned within 90 days will receive a refund or exchange. Some items sold by Target have a modified return policy noted on the receipt, packing slip, Target policy board (refund exceptions), or in the item department.

Target, Join the Target Affiliate Program and partner with one of the world’s most powerful brands. Earn up to 5% in commissions on over a million products by promoting Target products on your website.

Target (@target) • Instagram photos and videos, Discover dozens of ways to make your photos go further with personalized gifts, home décor, and more with Target Photo’s fantastic photo printing service. Care to stand out? We prefer the beat of our own drum, too. From cards to puzzles,canvas to ornaments, bring your creative ideas to life with completely personalized photo items.

Target, Target's coronavirus response. At Target, we’re committed to helping the families and communities we serve in good times and bad. We’ve already taken a number of steps in support of our team and guests, with increased safety measures and operational changes.

  • You should really reconsider. The user should be in control of his environment.
  • I can only speak for myself, but: Sites that open Popups for anything automatically get deducted points in my book. If you really want a new dialog, maybe a JavaScript Dialog - modal or not - is more user-friendly? For example, the Dialog from jQuery UI:
  • It is necessary for flows such as OAuth. And it seems others have accomplished this feat.
  • This should have more upvotes.. While it is ultimately up to the browser, using this indicates to the browser that it is supposed to be a popup.
  • How does this fare against a popup blocker?
  • Agree with John: the answer from Kiran os OK. The basic don't work: Firefox (eg) open in a new tab. But Kiran's method is right.
  • I believe you mean
  • And _blank. And void, else the window reference's toString will replace the current document. And it still doesn't work (will open in new window if that's how the browser is configured). And inaccessible due to the needless use of javascript: URLs (don't ever use those).
  • I certainly don't think you should do this, but you can. The inaccessible javascript URLs is a problem that can be easily solved by modifying the document onLoad.
  • Just to give a specific reason not to use this, for anyone who stumbles across it, according to Mozilla: Never use this form of code for links: <a href="" ...> "javascript:" links break accessibility and usability of webpages in every browser.
  • Cannot be SET, but Javascript CAN open a new window as @Mark Byers pointed out.
  • The question is specifically in regard to forcing a new window to open rather than a tab, and as the MDN article for indicates, it is unlikely the behavior will be as desired in a modern browser, though this would seemingly be the most straightforward JS to open a window.