AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint
(blog.laserphile.com)
The WebAudio test is not the only measurement in these scripts. Inspection of the bundles found code that queries or measures:
- canvas rendering and toDataURL()
- WebGL renderer information, extensions, and shader precision
- audio oscillator and analyser output
- screen and viewport dimensions
- device pixel ratio
- hardware concurrency and device memory
- installed browser plugins
- supported audio and video formats
- WebRTC behaviour
- browser performance timing
- mouse, touch, focus, and scroll events
- device motion and orientation
- properties commonly associated with browser automation
There is also code for serialising and encrypting results, making requests to Alibaba telemetry services, and sending data with fetch() or sendBeacon().
Not sure you need all this to play audio.