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?
We need a bit more details, here’s what I think you’re going for.
This code would open up a new window (or tab) when the user clicks on the Open Window item. The
window.openfunction works in this context but I’m not sure what context you’re not seeing it work in.Hope this helps you.