Skip to content

Commit

Permalink
generally impersonate metamask
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Sep 30, 2024
1 parent 1f59839 commit 4f555a6
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions extension/src/bridge/InjectedProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,5 @@ export default class InjectedProvider extends EventEmitter {
}

// Some apps don't support generic injected providers, so we pretend to be MetaMask
isMetaMask = HOSTNAMES_REQUIRING_METAMASK.includes(window.location.hostname)
isMetaMask = true
}

const HOSTNAMES_REQUIRING_METAMASK = [
'v2.stakewise.io',
'app.aura.finance',
'www.ankr.com',
'www.staderlabs.com',
'metavault.trade',
'quickswap.exchange',
'app.foundance.org',
]

0 comments on commit 4f555a6

Please sign in to comment.