Added webRequest.RequestFilter to filter main_frame .eth requests

feature/default_network_editable
Eduardo Antuña Díez 6 years ago
parent 888e5b4f16
commit 8279916ee4
  1. 2
      app/scripts/lib/ipfsContent.js

@ -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…
Cancel
Save