Detecting Chrome plug-in warning

Is there any way to detect when Chrome shows the yellow bar at the top, asking the user to allow Java/Flash/Quicktime/whatever to run?

I’m developing a Javascript app that includes a small Java applet, and I want to be able to prompt the user to click the “Always Allow” button.

  • Chrome kills response when trying to stream OGG files
  • installing crx-less web apps
  • pass input file to background script
  • Center alertbox and change 'Javascript' text in the alertbox
  • Can a Chrome App access Google APIs (like Drive) directly (ie. without a webview)?
  • window.print() difference between chrome and firefox
  • Right now I’m using a timeout to prompt the user if the applet isn’t running within X seconds, but that’s really hacky and unreliable solution.

    Any suggestions would be appreciated.

  • Trigger form submission in chrome javascript console
  • Write File to disk chunk by chunk using web browser and client side javascript
  • Warning in Chrome when loading Pinterest pinit.js file
  • Can I prevent that Chrome (v45) pauses on promise rejections?
  • Javascript: always show Chrome address bar
  • How can I programmatically open the file picker with JavaScript?
  • One Solution collect form web for “Detecting Chrome plug-in warning”

    The applet tag doesn’t expose any events – what you could do is dynamically add the applet tag to your page using jQuery after you’ve shown the user a dialog to “Always Allow” (e.g. based on a cookie).