diff options
author | kumavis <aaron@kumavis.me> | 2017-09-08 13:37:44 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-09-08 13:37:44 +0800 |
commit | 671dafea9e8d379578c73672ba051205456219e3 (patch) | |
tree | c733017a12b83d70db21c61d16a07033ddefecbb /ui/app/components/pending-msg.js | |
parent | 70401626e2544f254ddb06a21b5d3de7fdd7fb82 (diff) | |
parent | a704e1d14370056a9a1a8af43c702bb00142532d (diff) | |
download | tangerine-wallet-browser-671dafea9e8d379578c73672ba051205456219e3.tar.gz tangerine-wallet-browser-671dafea9e8d379578c73672ba051205456219e3.tar.zst tangerine-wallet-browser-671dafea9e8d379578c73672ba051205456219e3.zip |
Merge branch 'master' of github.com:MetaMask/metamask-extension into filter-leak-fix
Diffstat (limited to 'ui/app/components/pending-msg.js')
-rw-r--r-- | ui/app/components/pending-msg.js | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/ui/app/components/pending-msg.js b/ui/app/components/pending-msg.js index b7133cda8..834719c53 100644 --- a/ui/app/components/pending-msg.js +++ b/ui/app/components/pending-msg.js @@ -35,10 +35,21 @@ PendingMsg.prototype.render = function () { style: { margin: '10px', }, - }, `Signing this message can have + }, [ + `Signing this message can have dangerous side effects. Only sign messages from sites you fully trust with your entire account. - This dangerous method will be removed in a future version.`), + This dangerous method will be removed in a future version. `, + h('a', { + href: 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527', + style: { color: 'rgb(247, 134, 28)' }, + onClick: (event) => { + event.preventDefault() + const url = 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527' + global.platform.openWindow({ url }) + }, + }, 'Read more here.'), + ]), // message details h(PendingTxDetails, state), |