mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Added webRequest.RequestFilter to filter main_frame .eth requests
This commit is contained in:
parent
888e5b4f16
commit
8279916ee4
@ -36,7 +36,7 @@ module.exports = function (provider) {
|
||||
return { cancel: true }
|
||||
}
|
||||
|
||||
extension.webRequest.onErrorOccurred.addListener(ipfsContent, {urls: ['*://*.eth/']})
|
||||
extension.webRequest.onErrorOccurred.addListener(ipfsContent, {urls: ['*://*.eth/'], types: ['main_frame']})
|
||||
|
||||
return {
|
||||
remove () {
|
||||
|
Loading…
Reference in New Issue
Block a user