mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Skip injection on snaps iframe (#19096)
* skip injection on snaps iframe * escape periods from regex block list These values are used as regex inputs, so plain periods are wild characters, and mean these can be interpreted as more domains than intended. * remove period escaping It's already escaped below. Whoops! Bad AI advice!
This commit is contained in:
parent
aa9ee8af6c
commit
5b5e5d222f
@ -65,6 +65,7 @@ function documentElementCheck() {
|
||||
*/
|
||||
function blockedDomainCheck() {
|
||||
const blockedDomains = [
|
||||
'execution.metamask.io',
|
||||
'uscourts.gov',
|
||||
'dropbox.com',
|
||||
'webbyawards.com',
|
||||
|
Loading…
Reference in New Issue
Block a user