A site has a popup window where you can send a message to someone. After the message is sent, the popup window closes. I'd like to see the requests made in the Firefox Developer window, but it closes when the popup closes. Is there a way to either keep the popup open or to keep the Dev tools open? This question is similar to this question about Chrome dev tools.
Asked
Active
Viewed 2,080 times
7
-
In setting section of dev tools, you can check `Enable persistent logs`, then Dev tools wont clear console. – Mehdi Dehghani Jun 06 '17 at 04:36
-
@Mehdi that doesn't help when the devtools window closes itself. – Antimony Nov 28 '17 at 00:36
2 Answers
7
The accepted answer did not work for me, it kept closing anyway. However what did work was the solution presented here.
This involves using about:config
to set the following values:
browser.link.open_newwindow 1
browser.link.open_newwindow.restriction 0
browser.link.open_newwindow.override.external 3
After this, the popup will open in the same window. Then, the script cannot close the window since it is not the creator.

mvreijn
- 2,807
- 28
- 40
0
You can use the Firefox Debugger to add an Event Listener for the Load > load event. In my case this prevented closing the window. Also see https://stackoverflow.com/a/62011428/1959568

almereyda
- 96
- 4