One way to prevent the "many flashing popups" when updating firmware would be to use WebUSB to talk to the bootloader as HID device directly. A drawback is that only Chrome supports WebUSB (Firefox explicitly declares it will not support it): https://developer.mozilla.org/en-US/docs/Web/API/USB#Browser_compatibility