How do you mean? IME 2FA works via an CLI utility or mobile app, and JavaScript doesn’t enter into it at all.