This is quite cool, but I am not sure I understand the difference between 'Save' and 'Share'. They both seem to just save a file.
Share uses Navigator.share (https://developer.mozilla.org/en-US/docs/Web/API/Navigator/s...), which should invoke the browser’s “share” menu if it has one.