aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/phishing-detect.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/phishing-detect.js')
-rw-r--r--app/scripts/phishing-detect.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/phishing-detect.js b/app/scripts/phishing-detect.js
new file mode 100644
index 000000000..4168b6618
--- /dev/null
+++ b/app/scripts/phishing-detect.js
@@ -0,0 +1,5 @@
+window.onload = function() {
+ if (window.location.pathname === '/phishing.html') {
+ document.getElementById('esdbLink').innerHTML = '<b>To read more about this scam, navigate to: <a href="https://etherscamdb.info/domain/' + window.location.hash.substring(1) + '"> https://etherscamdb.info/domain/' + window.location.hash.substring(1) + '</a></b>'
+ }
+}