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 9226197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:46:18+00:00 2026-06-18T04:46:18+00:00

I am developing an extension for Firefox that needs to open a standard Javascript

  • 0

I am developing an extension for Firefox that needs to open a standard Javascript popup window that can be a custom size. I have looked all around and I can’t seem to figure out how to do it. My code for a contextual menu works good, but it seems like Firefox is blocking the window.open snippet needed to accomplish this.

Is there a way todo it via XUL, or any other SDK modules?

  • 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-06-18T04:46:19+00:00Added an answer on June 18, 2026 at 4:46 am

    We need a bit more details, here’s what I think you’re going for.

    require("sdk/context-menu").Item({
      label: "Open Window",
      contentScript: 'self.on("click", function (node, data) {' +
                     '  window.open("http://stackoverflow.com/questions/14572412/how-to-open-a-popup-window-via-firefox-addon-contextual-menu");' +
                     '});'
    });
    

    This code would open up a new window (or tab) when the user clicks on the Open Window item. The window.open function works in this context but I’m not sure what context you’re not seeing it work in.

    Hope this helps you.

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

Sidebar

Related Questions

I'm developing a Firefox extension, and I have a toolbar button that displays an
I am busy developing a Firefox extension and I have a Widget that opens
I am developing a Firefox extension that uses XSL transformations. I have been using
While developing a firefox extension, I create a wizard window from overlay.js using: this.wizard
I'm involved into developing of Firefox extension. Our extension is complex and we have
I'm developing a Firefox extension and have the following code: function initialize() { //
I've been developing a firefox extension, which needs to send an email through the
I am developing a web-based javascript/html application with a sister firefox-extension. The application's page-javascript
I'm developing a Firefox extension that uses an ajax-request to retrieve information. This is
I am developing a chrome extension that runs some javascript on a particular web

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.