Determine if a user has a pop-up blocker in Flex

My application has a help popup outside of Flex on several occasions. I need to warn the user about the permission of pop-ups from my application if they have pop-up blocking enabled.

Does anyone know how to determine this from within Flex, and then how to make the "allow pop-ups from this site" pop-up in the browser?

+4
source share
3 answers

I would use the Flex External interface in conjunction with one of the JavaScript answers.

http://learn.adobe.com/wiki/display/Flex/External+Interface

+4
source

I would use javascript to check popup blockers and pass the result to Flex. Here's a similar question that might help.

+1
source

In truth, I am not a Flex expert, in any way, but if you are not using Flex's built-in dialog tools, I would recommend using jQueryUI . You can do anything: from simple warnings to complex HTML forms and even from pages loaded from the outside, if you want.

JQueryUI has its own built-in dialog tools that do not disable the browser popup blocker.

-1
source

Source: https://habr.com/ru/post/1346136/


All Articles