1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Added webRequest.RequestFilter to filter main_frame .eth requests

This commit is contained in:
Eduardo Antuña Díez 2018-10-08 21:50:15 +02:00
parent 888e5b4f16
commit 8279916ee4

View File

@ -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 () {