119
Views
2
Comments
Pop-up window detection

Hi all I am currently using Outsystems 10 and I would like to identify if the current screen is a main screen or a pop-up screen is there a way to detect it?

2025-11-19 06-14-01
Miguel Verdasca
Champion

Hi Rogelio,


To my knowledge, and after a little research, I think it is not possible to obtain this information with a direct action from OutSystems. But I've been watching on StackOverFlow, and you can do something like this:

Cheers,

Nuno Verdasca


UserImage.jpg
Jeffrey Vergara

Hi Roger,


Try creating a js function that will check the current window.

You can look into this thread credit to mudassarkhan

 how to check whether browser window is a popup window or not



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.