Such an on-device feature would either be trivial to break (if it's an ordinary API) or be impossible to implement in an open-source browser and OS (if it's some locked-down DRM-like thing), and the latter is not privacy-preserving because proprietary software tends to be spyware.
If these moralizers would just shut up, go away, and stop trying to ruin the Internet, that'd be great.