aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-11-15 04:42:45 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-11-15 04:42:45 +0800
commit18f39ef69e117a3560456a30f0e8506ed7b0e044 (patch)
treeee784e647b16f343b7efbe298a5f9c5f462d04e3 /app
parent484aa6801ea50fb08253fd08559710c53e0c189d (diff)
parentf6e042b7b12fec755b0a91ff24a1e812f65b638d (diff)
downloadtangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.tar
tangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.tar.gz
tangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.tar.bz2
tangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.tar.lz
tangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.tar.xz
tangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.tar.zst
tangerine-wallet-browser-18f39ef69e117a3560456a30f0e8506ed7b0e044.zip
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
Diffstat (limited to 'app')
-rw-r--r--app/scripts/contentscript.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js
index ee38ee3ab..92e382ea5 100644
--- a/app/scripts/contentscript.js
+++ b/app/scripts/contentscript.js
@@ -302,6 +302,11 @@ function getSiteName (window) {
return siteName.content
}
+ const metaTitle = document.querySelector('head > meta[name="title"]')
+ if (metaTitle) {
+ return metaTitle.content
+ }
+
return document.title
}