Forum Discussion

CGM_Benjamin's avatar
CGM_Benjamin
Copper Contributor
Nov 24, 2021

Not allowed to launch 'jnlps://host:port/cws/zbsl/zbsl.jnlp' because a user gesture is required.

Hi,

 

I´m not be able to achieve two consecutive automatic jnlp launches on Edge Version:  96.0.1054.34, on Firefox 94 and IE11 i can achieve it without problemas, but in Edge an Chrome only runs the first one automatically and next i´ve the following message on console: 

 

Not allowed to launch 'jnlps://host:port/cws/zbsl/zbsl.jnlp' because a user gesture is required.

I´m allready set this values on my windows reg:

 

"ExemptDomainFileTypePairsFromFileTypeDownloadWarnings"="{\"domains\": [\"https://host:port\"], \"file_extension\": \"jnlp\"}"
"AutoLaunchProtocolsComponentEnabled"=dword:00000001
"AutoLaunchProtocolsFromOrigins"="{\"allowed_origins\": [\"https://host:port\"], \"protocol\": \"jnlp\"},{\"allowed_origins\": [\"https://host:port\"], \"protocol\": \"jnlps\"}"

 

And of course, jnlp files and mime types are correctly associated on Windows 10.

 

Any comments will be apreciated, thanks in advanced.

 

 

 

 

2 Replies

  • Alexandra-R's avatar
    Alexandra-R
    Bronze Contributor
    Hey there! Since this is happening on both Edge and Chrome, it's likely a Chromium bug (or possibly intended behavior, though this does look like a bug to me as it's not respecting your exemption.)
    It might be worth filing a new Chromium bug with your use case (https://bugs.chromium.org/p/chromium/issues/entry) as I only see a few open relating to gestures and not necessarily capturing this case.
    • CGM_Benjamin's avatar
      CGM_Benjamin
      Copper Contributor
      Ok, I reported it on:

      https://bugs.chromium.org/p/chromium/issues/detail?id=1273626

      Thanks

Resources