Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox keep developer tools open after popup window closes

Tags:

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.

like image 670
redfast00 Avatar asked Jun 04 '17 16:06

redfast00


1 Answers

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.

like image 109
mvreijn Avatar answered Oct 03 '22 19:10

mvreijn