Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3984416
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:46:02+00:00 2026-05-20T05:46:02+00:00

I have developed a webapp to use it as Firefox extension. In Firefox I

  • 0

I have developed a webapp to use it as Firefox extension. In Firefox I include it with an iframe like this

<iframe src="http://mywebapp.com" flex="2" id="browserTable" name="table_frame"/>

Now I want to have some outgoing links in my app. If I just use normal link markup like

<a href="http://mywebapp.com/contact">Contact</a>

the link is opened in the iframe that is small in space since it is in the sidebar. Is there any way to open it in a new tab in the main browser window?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:46:03+00:00Added an answer on May 20, 2026 at 5:46 am

    The target attribute allows you to specify which window to open a link in. You have these special keywords you can place in the attribute:

        _blank - new window
        _self - same window (default)
        _parent - the window which opened the current window, or the parent frame in a frameset
        _top - overload the entire page, usually used in a frame context 
       "string" - in the window with an id of "string", or a new window if "string" is not the id of a current window
    

    So, here is your HTML:

    <a href="http://mywebapp.com/contact" target="_blank">Contact</a>
    

    EDIT Did some research after our discussion in comments, and found this snippet:

    var myUrl = "http://mesh.typepad.com";
    var tBrowser = top.document.getElementById("content");
    var tab = tBrowser.addTab(myUrl);
    // use this line to focus the new tab, otherwise it will open in background
    tBrowser.selectedTab = tab;
    

    Source: http://mesh.typepad.com/blog/2004/11/creating_a_new_.html

    Let me know if that works out… curious myself, but my current FF environment is not one in which I can easily experiment with extension dev, and I don’t want to change things to try.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a simple library in Ruby and need to use this in
I have copied the JARs into src\main\webapp\WEB-INF\lib . I use eclipse. If I add
I have developed a web application using Netbeans 6.7 and Ant. The webapp works,
I have developed a small web app. This app allows users to upload images.
I have developed this small app and run it on Jetty with no problems...
We have a locally-developed triple store based on b-trees which I want to use
I have a web app served by cherrypy. Within this app, I would like
I have a webapp development problem that I've developed one solution for, but am
I have developed a WebApp with Java-NetBeans. Now I have a library (List&Label from
I want to develop a webapp using ASP.NET but it have to use some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.