The advantage is that the EyeDropper allows you to pick the color of any element on the screen, including items that are outside your browser’s window.
The problem with the XMLHttpRequest object is that it does not support promises natively. So, in order to work with the XMLHttpRequest object, you need to wrap it with a promise.
The new HTML5 API’s are helping us to provide better user experiences no matter the device visiting the site. For example, for a desktop computer you may display a message on the screen while on smartphones, the message could be accompanied with a vibration of the device.
The following browsers support this feature: Opera 9.5+, Chrome, Firefox 3.5+, and Safari 1.1+. Historically, this feature was only supported by Safari, but now all recent major browsers support this property except IE.