Skip to content

Commit

Permalink
Updating deprecated Etherscam link (MetaMask#7464)
Browse files Browse the repository at this point in the history
Co-authored-by: Whymarrh Whitby <whymarrh.whitby@gmail.com>
  • Loading branch information
2 people authored and yqrashawn committed Feb 10, 2020
1 parent c1a1899 commit 673f90f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/phishing.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1>
<a href="https://github.com/metamask/eth-phishing-detect">Ethereum Phishing Detector</a>.
Domains on these warning lists may include outright malicious websites and legitimate websites that have been compromised by a malicious actor.
</p>
<p>To read more about this site <a id="esdbLink">please review the domain on Etherscam</a>.</p>
<p>To read more about this site <a id="csdbLink">please search for the domain on CryptoScamDB</a>.</p>
<p>
Note that this warning list is compiled on a voluntary basis. This list may be inaccurate or incomplete.
Just because a domain does not appear on this list is not an implicit guarantee of that domain's safety.
Expand Down
4 changes: 1 addition & 3 deletions app/scripts/phishing-detect.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ function start () {
const hash = window.location.hash.substring(1)
const suspect = querystring.parse(hash)

document.getElementById(
'esdbLink'
).href = `https://etherscamdb.info/domain/${suspect.hostname}`
document.getElementById('csdbLink').href = `https://cryptoscamdb.org/search`

global.platform = new ExtensionPlatform()
global.METAMASK_UI_TYPE = windowType
Expand Down

0 comments on commit 673f90f

Please sign in to comment.