Just easy as a simple val = prompt("Please enter the PIN for your device.")Edit: You could say the one in attachment is narrower etc. but all those properties could be changed by an update, so not significant enough to rely on.
On Ubuntu 23.04 the appearance looks same, this is definitely easy to spoof. Chrome has a nice UI to prompt for PIN, it doesn't have to look good, just needs to look distinguishable. Practically I don't find it okay to use keys on firefox for now.