Merge pull request #189 from poanetwork/phishing-detect-branding
(Fix) Branding of phishing detection page
This commit is contained in:
commit
ce217d57ea
|
@ -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 not shown.
Before Width: | Height: | Size: 59 KiB |
|
@ -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;
|
||||
|
@ -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
|
||||
|
|
|
@ -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}`)
|
||||
|
||||
|
|
Loading…
Reference in New Issue