PasswordCredential.iconURL

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The iconURL read-only property of the PasswordCredential interface returns a USVString containing a URL pointing to an image for an icon. This image is intended for display in a credential chooser. The URL must be accessible without authentication.

Syntax

url = passwordCredential.iconURL

Value

A USVString containing a URL.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
iconURL
51
79
No
No
38
No
51
51
No
41
No
5.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/iconURL