Merge pull request #5461 from eduadiez/develop

Added webRequest.RequestFilter to filter main_frame .eth requests
feature/default_network_editable
Thomas Huang 6 years ago committed by GitHub
commit bf92d2ffec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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