I'm wondering is there anyway I can force popup.html to close?
1
-
Do you want to close it while your in the popup or some other page closing it? – Mohamed Mansour Feb 8 '11 at 6:06
Add a comment
|
Within a popup javascript:
window.close();
-
3
-
9@MahbubulHaque Have the foreground bind an event listener to the background page. The background page triggers the event and the foreground responds by closing itself. – Sean Anderson Dec 20 '14 at 1:02
-
@SeanAnderson - could you point me to some code that illustrates this? – Sridhar Sarnobat Aug 21 '16 at 21:37