Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to detect Flash settings(Ask/EnableDisable) programmatically?

more options

How can i get the Flash settings value through java script code, i.e., which one among Ask/Enable/Disable is set?

How can i get the Flash settings value through java script code, i.e., which one among Ask/Enable/Disable is set?

All Replies (1)

more options

You can detect the presence or absence of Flash:

  • Present: You cannot directly query whether the permissions is Ask to Activate or Always Activate. Some sites appear to check whether Flash is actually doing what they expect, but I don't know if that is a reliable pattern.
  • Absent: Either the permission is Never Activate, or Firefox has blocked an obsolete version of the plugin, or Flash is not installed. Websites cannot distinguish these scenarios.