I want to trigger some code when page action or browser action popup gets closed. I tried listening to onunload and onbeforeunload events on <body> or window but they never fire.
I want to trigger some code when page action or browser action popup gets
Share
It’s a bug, but a chromium developer posted a workaround.
http://crbug.com/31262#c13