diff --git a/lib/interceptor.js b/lib/interceptor.js index dc6bc9d..4965a18 100644 --- a/lib/interceptor.js +++ b/lib/interceptor.js @@ -66,7 +66,7 @@ var Interceptor = new Class({ httpChannel.setRequestHeader('Referer', null, false); // Temporary fix for reported issues with the Play Store website. - if (httpChannel.referrer.host === 'play.google.com') { + if (httpChannel.referrer && httpChannel.referrer.host === 'play.google.com') { this.handleMissingCandidate(httpChannel); return; }