For the coders: all it takes is setting the NSTextContentType property of the NSTextContent object of the corresponding text field to NSTextContentTypeOneTimeCode, see here. I am not familiar with the Firefox codebase, but someone who knows their way...