mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix for lint-test
This commit is contained in:
parent
e454a5e0e8
commit
4808ce25eb
@ -199,5 +199,5 @@ function blacklistedDomainCheck () {
|
||||
function redirectToPhishingWarning () {
|
||||
console.log('MetaMask - routing to Phishing Warning component')
|
||||
const extensionURL = extension.runtime.getURL('phishing.html')
|
||||
window.location.href = extensionURL + "#" + window.location.hostname
|
||||
window.location.href = extensionURL + '#' + window.location.hostname
|
||||
}
|
||||
|
@ -1,5 +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>"
|
||||
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>'
|
||||
}
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ const buildJsFiles = [
|
||||
'contentscript',
|
||||
'background',
|
||||
'ui',
|
||||
'phishing-detect'
|
||||
'phishing-detect',
|
||||
]
|
||||
|
||||
// bundle tasks
|
||||
|
Loading…
Reference in New Issue
Block a user