51Degrees / device-detection-node

Device detection engines for Node.js implementation of the 51Degrees Pipeline API
Other
2 stars 4 forks source link

javascriptgethighentropyvalues is not returned for reducted Samsung Browser UA #171

Closed vpenyazkov closed 4 months ago

vpenyazkov commented 4 months ago

We've faced an issue with Samsung Browser, which suddenly started to reduct UAs, then stopped, but nevertheless the issue is the following: for reducted UA which Samsung Browser sends the pipeline does not return javascriptgethighentropyvalues script which is required to request high entropy values in order to detect the device. This property is returned for reducted UAs which Chrome sends, and I assume it should be returned for Samsung's UAs as well.

Here is an example of Samsung's UA: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/25.0 Chrome/121.0.0.0 Mobile Safari/537.36. And here is an example of Chrome's UA: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.0.0 Mobile Safari/537.36.

We use on premise solution based on node.js lib, but the same was reproduced on cloud solution.

Tracy51D commented 4 months ago

Hi Vladimir,

Thank you for raising this issue.

The JavascriptGetHighEntropyValues script was not set to be included for Samsung Browser profiles. We have updated this so the script will be returned from tomorrow's release of the datafile.

We will also be reviewing other popular chromium browsers in our system for this issue.

I expect this change will resolve this issue for you, please do let us know if this improves.

Thanks Tracy

vpenyazkov commented 4 months ago

Hi Tracy,

I can confirm that it works now for Samsung UA. Thanks