1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/ui/app/helpers/utils
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
..
common.util.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
common.util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-tx.util.js Revert to providing inline defaults in getHexGasTotal and increaseLastGasPrice (#6361) 2019-03-29 12:47:58 -02:30
confirm-tx.util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
conversion-util.js Declare variables before use (#6806) 2019-07-05 14:01:34 -03:00
conversion-util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
conversions.util.js Improved UX for sweeping accounts (#6488) 2019-05-20 14:08:08 -02:30
fetch-with-cache.js Combine fetch-with-timeout implementations (#7084) 2019-09-04 17:00:11 -03:00
fetch-with-cache.test.js Fix fetch-with-cache (#7083) 2019-09-04 16:10:23 -03:00
formatters.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
i18n-helper.js Report missing en locale messages to Sentry (#7197) 2019-09-21 13:31:45 -03:00
metametrics.util.js Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
switch-direction.js Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
token-util.js Fix recipient field of approve screen (#7171) 2019-09-16 17:05:21 -02:30
transactions.util.js Fix fetch-with-cache (#7083) 2019-09-04 16:10:23 -03:00
transactions.util.test.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
util.js Lessen the length of ENS validation to 3 (#7285) 2019-10-17 13:03:14 -03:00