I have this parent page containing iframe,
When user click link in the iframe, the iframe content updates - everything is ok.
the problem happen when user right click a link in the iframe and select "open in new window" then new window opens without the parent content (just the iframe content)
I would like to prevent this situation by changing the window URL to the main application page,
How do I identify in the new window that I am not inside the parent?
How to handle ‘window.open()’ calls that open popup content without the parent?
That could get really messy, and you'd need to do this on each "child" page. Personally, I'd consider just letting it be unless it poses security issues. If the outcome is undesirable, people learn not to do it soon enough.
>>>Personally, I'd consider just letting it be unless it poses security issues
Thank you Bear, if I will have no choice I will do that.
I think I found client side solution
Top is the main window (start page), window.parent should be the containing app
The only problem are popup windows within the IFrame in normal operation..
I am still thinking how to solve it..