diff options
author | Eduardo Antuña Díez <eduadiez@gmail.com> | 2018-10-09 03:50:15 +0800 |
---|---|---|
committer | Eduardo Antuña Díez <eduadiez@gmail.com> | 2018-10-09 03:50:15 +0800 |
commit | 8279916ee415157dbda89578e6fd1b934e9d344e (patch) | |
tree | 32922cc950bc15cca1e20d5c5b79f36133462a09 | |
parent | 888e5b4f167a8701e44865fde4da95a3fb10a363 (diff) | |
download | tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.tar tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.tar.gz tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.tar.bz2 tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.tar.lz tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.tar.xz tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.tar.zst tangerine-wallet-browser-8279916ee415157dbda89578e6fd1b934e9d344e.zip |
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 () { |