Suppose I have Parent Page.
When I click on Print a new tab (page) is opened for print preview.
What I want is when I click on print an overlay should be shown on parent tab (page) to stop further work until child tab is closed.
Because when print tab (page) (child) is opened, most of the functions on parent tab (page) are not working properly.
Note: I am using Google Default print/preview functionality.
I am not be able write the code to perform the above described scenario. How can I detect in parent page that its child page is closed?