1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
metamask-extension/ui/app
Mark Stacey 8dfb0e8154
Add hostname and extensionId to site metadata (#7218)
If the extension ID is set, an alternate title and subtitle are used
for the Connect Request screen. The title is always `External
Extension`, and the subtitle is `Extension ID: [id]` instead of the
origin (which would just be `[extension-scheme]://[id]` anyway).

The hostname for the site is used as a fallback in case it has no
title.

The artificial hostname set for internal connections has been renamed
from 'MetaMask' to 'metamask' because URL objects automatically
normalize hostnames to be all lower-case, and it was more convenient to
use a URL object so that the parameter would be the same type as used
for an untrusted connection.
2019-10-29 13:14:41 -03:00
..
components Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
css Refactor new-account.js (#7312) 2019-10-29 12:12:41 -04:00
ducks Remove logging of action.value of set_next_nonce (#7233) 2019-09-30 19:17:45 -03:00
helpers Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
pages Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
selectors Use AdvancedGasInputs in AdvancedTabContent (#7186) 2019-10-23 09:23:15 -03:00
store Add "Retry" option for failed transactions (#7296) 2019-10-28 10:58:46 -02:30