diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-10-09 06:32:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 06:32:05 +0800 |
commit | bf92d2ffec3f827adf1d269c4638f1673c38b4ac (patch) | |
tree | 32922cc950bc15cca1e20d5c5b79f36133462a09 | |
parent | 888e5b4f167a8701e44865fde4da95a3fb10a363 (diff) | |
parent | 8279916ee415157dbda89578e6fd1b934e9d344e (diff) | |
download | tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.tar tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.tar.gz tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.tar.bz2 tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.tar.lz tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.tar.xz tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.tar.zst tangerine-wallet-browser-bf92d2ffec3f827adf1d269c4638f1673c38b4ac.zip |
Merge pull request #5461 from eduadiez/develop
Added webRequest.RequestFilter to filter main_frame .eth requests
-rw-r--r-- | app/scripts/lib/ipfsContent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/ipfsContent.js b/app/scripts/lib/ipfsContent.js index 62a808b90..8b08453c4 100644 --- a/app/scripts/lib/ipfsContent.js +++ b/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 () { |