diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-07-28 03:23:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-28 03:23:31 +0800 |
commit | 1540b5e256634dbbbc01627ca45afe82329d39a9 (patch) | |
tree | 418cd22597323816e990577871a6d688fb2133b2 /app/scripts | |
parent | 6d1808d20909d089df442ed3fa4fb3c6debae01a (diff) | |
parent | a97583b03913a43ef7575546977087cfbaaa9ad7 (diff) | |
download | tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.tar tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.tar.gz tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.tar.bz2 tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.tar.lz tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.tar.xz tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.tar.zst tangerine-wallet-browser-1540b5e256634dbbbc01627ca45afe82329d39a9.zip |
Merge pull request #4893 from kelvintyb/develop
Move phishing warning to the extension
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/contentscript.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index 7b7114c35..b7496f318 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -197,6 +197,7 @@ function blacklistedDomainCheck () { * Redirects the current page to a phishing information page */ function redirectToPhishingWarning () { - console.log('MetaMask - redirecting to phishing warning') - window.location.href = 'https://metamask.io/phishing.html' + console.log('MetaMask - routing to Phishing Warning component') + let extensionURL = extension.runtime.getURL('phishing.html') + window.location.href = extensionURL } |