Skip to content

Commit

Permalink
Merge pull request #189 from poanetwork/phishing-detect-branding
Browse files Browse the repository at this point in the history
(Fix) Branding of phishing detection page
  • Loading branch information
vbaranov committed Nov 23, 2018
2 parents f577d69 + 0857d67 commit ce217d5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 27 deletions.
6 changes: 3 additions & 3 deletions USER_AGREEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## 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 removed app/images/ethereum-metamask-chrome.png
Binary file not shown.
28 changes: 5 additions & 23 deletions app/phishing.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<html>

<head>
<title>Ethereum Phishing Detection - MetMask</title>
<title>Ethereum Phishing Detection - Nifty Wallet</title>

<style>
body {
background: #c50000;
background: #a8296b;
padding: 50px;
display: flex;
justify-content: center;
Expand All @@ -29,36 +29,18 @@
}
</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>
</head>

<body>
<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>
<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 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>
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
Expand Down
2 changes: 1 addition & 1 deletion development/metamaskbot-build-announce.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function start () {
`

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(`Posting to: ${POST_COMMENT_URI}`)

Expand Down

0 comments on commit ce217d5

Please sign in to comment.