title: Detect if mobile chrome's Data saving feature is enable from javascript
body: <p>In mobile chrome on android device, there is a setting called "Data saving" accessible from Settings > Data saving.</p>
  
  <p>When enabled the behavior can be slightly different when reading media, especially video: on mobile autoplay videos are prohibited except if the video is muted but if data saving is enable muted autoplay isn't allowed anymore.</p>
  
  <p>I would need  a way to detect if data saving is used so I can change my video player behavior.</p>
  
  <p>I know that there is a header sent in http requests: "save-data: on"
  But I don't know any way to read http requests header from javascript.</p>
  
  <p>More info here:
  <a href="https://developer.chrome.com/multidevice/data-compression" rel="noreferrer">https://developer.chrome.com/multidevice/data-compression</a></p>
  
  <p>Thanks for any answer.</p>