Solved

Firebug break takes down popup

Posted on 2013-01-23
3
283 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now