Solved

Firebug break takes down popup

Posted on 2013-01-23
3
286 Views
Last Modified: 2013-01-30
I notice that if I break  in Firebug after executing a window.open() call the popped up window goes away.  For example, I have the code below:
break code
16328 puts up the window but as soon as the code  breaks at 16333 the window goes away.

Does anyone know why this happens and how I can keep the window open?

Thanks.
Steve
0
Comment
Question by:steva
3 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 250 total points
ID: 38813278
For debugging purpose only, you can add temporary code below:
w = window.open(u, s.name, f);

like:

w = window.open(u, s.name, f);
var a = 10;
a = a + 10;

Check in browser to, debugger should also execute newly added two lines, so at that time you can get your window opened.

This is not proper way, can be used for debugging purpose only. :)
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
ID: 38815139
not on my side but I've allowed popup from 127.0.0.1
my firefox version is : 18.0.1
Clipboard02.jpg
0
 

Author Comment

by:steva
ID: 38829285
Sorry for the delay, Leakim.

I'm also running Firefox 18.0.1.  

You mentioned that you allowed popups from 127.0.0.1.  I don't think that's the issue here since the popup does pop up ok.  It just goes away when Firebug breaks.

???  Maybe there's some option in Firefox that I need to set to keep the popup active after a break.

Steve
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question