Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Is there a way for a developer to detect if the Java plugin was blocked?

  • 2 отговора
  • 2 имат този проблем
  • 9 изгледи
  • Последен отговор от panrobal

more options

For best UX in my web application I'd like to know if Java has been blocked because of security vulnerabilities.

If it's been blocked I'd like to show m own message that Java is out of date and they should update.

I don't want to show it everytime Java is out of date since it's only important for me and the user if there are security vulnerabilities. If Java version is not known to have vulnerablities I don't want my users to be disturbed by additional messages or steps reguired to update Java.

Is there a way to detect using Javascript if Firefox blocked a plugin because of security vulnerability?

For best UX in my web application I'd like to know if Java has been blocked because of security vulnerabilities. If it's been blocked I'd like to show m own message that Java is out of date and they should update. I don't want to show it everytime Java is out of date since it's only important for me and the user if there are security vulnerabilities. If Java version is not known to have vulnerablities I don't want my users to be disturbed by additional messages or steps reguired to update Java. Is there a way to detect using Javascript if Firefox blocked a plugin because of security vulnerability?

Всички отговори (2)

more options

Firefox already does this, displaying a CTP notification that Java is out of date. Why do I have to click to activate plugins?

more options

Thanks for the reply.

I have already seen this page but my applet doesn't have a visible area. It's just for communication with external devices and it interacts with Javascript. In my case it doesn't look like in the link.

Fortunately in new version of Firefox a large modal appears with option to update Java which is quite OK. I am only affraid that if there are no new versions of Java Firefox will display this small dropdown in the top left hand corner which our users tend to miss.