Merge pull request #189 from poanetwork/phishing-detect-branding

(Fix) Branding of phishing detection page
This commit is contained in:
Victor Baranov 2018-11-23 13:37:36 +03:00 committed by GitHub
commit ce217d57ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 27 deletions

View File

@ -2,8 +2,8 @@
## Related Links ## ## Related Links ##
**[Terms of Use](https://github.com/poanetwork/metamask-extension/wiki)** **[Terms of Use](https://github.com/poanetwork/nifty-wallet/wiki)**
**[Privacy](https://github.com/poanetwork/metamask-extension/wiki)** **[Privacy](https://github.com/poanetwork/nifty-wallet/wiki)**
**[Attributions](https://github.com/poanetwork/metamask-extension/wiki)** **[Attributions](https://github.com/poanetwork/nifty-wallet/wiki)**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

View File

@ -3,11 +3,11 @@
<html> <html>
<head> <head>
<title>Ethereum Phishing Detection - MetMask</title> <title>Ethereum Phishing Detection - Nifty Wallet</title>
<style> <style>
body { body {
background: #c50000; background: #a8296b;
padding: 50px; padding: 50px;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -29,36 +29,18 @@
} }
</style> </style>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37075177-6', 'auto');
ga('send', 'pageview');
//Send referral data to EAL
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-68598031-1', 'auto' {'allowLinker':true});
ga('send', 'pageview');
ga('require', 'linker');
ga('linker:autoLink', ['metamask.io'], false, true);
</script>
<script src="phishing-detect.js"></script> <script src="phishing-detect.js"></script>
</head> </head>
<body> <body>
<div class="centered"> <div class="centered">
<img src="/images/ethereum-metamask-chrome.png" style="width:100%"> <img src="/images/icon-512.png" style="width:128px; margin: 0 auto;">
<h3>ATTENTION</h3> <h3>ATTENTION</h3>
<p>MetaMask believes this domain could currently compromise your security and has prevented you from interacting with it.</p> <p>Nifty Wallet believes this domain could currently compromise your security and has prevented you from interacting with it.</p>
<p>This is because the site tested positive on the <a href="https://github.com/metamask/eth-phishing-detect">Ethereum Phishing Detector</a>. This includes outright malicious websites and legitimate websites that have been compromised by a malicious actor.</p> <p>This is because the site tested positive on the <a href="https://github.com/metamask/eth-phishing-detect">Ethereum Phishing Detector</a>. This includes outright malicious websites and legitimate websites that have been compromised by a malicious actor.</p>
<p id="esdbLink"></p> <p id="esdbLink"></p>
<p>You can turn MetaMask off to interact with this site, but it is advised not to.</p> <p>You can turn Nifty Wallet off to interact with this site, but it is advised not to.</p>
<p> <p>
If you think this domain is incorrectly flagged or if a blocked legitimate website has resolved its security issues, If you think this domain is incorrectly flagged or if a blocked legitimate website has resolved its security issues,
<a href="https://github.com/metamask/eth-phishing-detect/issues/new">please file an issue</a>. If you believe this website <a href="https://github.com/metamask/eth-phishing-detect/issues/new">please file an issue</a>. If you believe this website

View File

@ -46,7 +46,7 @@ async function start () {
` `
const JSON_PAYLOAD = JSON.stringify({ body: commentBody }) const JSON_PAYLOAD = JSON.stringify({ body: commentBody })
const POST_COMMENT_URI = `https://api.github.com/repos/metamask/metamask-extension/issues/${CIRCLE_PR_NUMBER}/comments` const POST_COMMENT_URI = `https://api.github.com/repos/poanetwork/nifty-wallet/issues/${CIRCLE_PR_NUMBER}/comments`
console.log(`Announcement:\n${commentBody}`) console.log(`Announcement:\n${commentBody}`)
console.log(`Posting to: ${POST_COMMENT_URI}`) console.log(`Posting to: ${POST_COMMENT_URI}`)