diff --git a/src/js/core/RequestListener.js b/src/js/core/RequestListener.js index bfbc49f..8816398 100644 --- a/src/js/core/RequestListener.js +++ b/src/js/core/RequestListener.js @@ -14,6 +14,11 @@ export default class RequestListener extends EventEmitter { onBeforeRequest(request) { let url = request.url; + // Discard everything except AJAX HTTP requests. + if (request.type !== 'xmlhttprequest') { + return; + } + // Skip any chrome requests... I.e. chrome:// or chrome-extension://... if (url.indexOf('chrome') === 0) { return;