Skip to content

Commit

Permalink
Merge pull request #140 from gnosisguild/generally-metamask
Browse files Browse the repository at this point in the history
generally impersonate metamask
  • Loading branch information
jfschwarz authored Sep 30, 2024
2 parents 1f59839 + 4f555a6 commit 46e6026
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 46e6026

Please sign in to comment.