diff --git a/chrome/content/zotero/xpcom/standalone.js b/chrome/content/zotero/xpcom/standalone.js index c6f654a9e..9e60fd244 100644 --- a/chrome/content/zotero/xpcom/standalone.js +++ b/chrome/content/zotero/xpcom/standalone.js @@ -79,8 +79,12 @@ Zotero.Standalone = new function() { getService(Components.interfaces.nsIObserverService). addObserver({ "observe":function(ch) { - if(ch.QueryInterface(Components.interfaces.nsIRequest).URI.host - !== "versioncheck.addons.mozilla.org") return; + try { + if(ch.QueryInterface(Components.interfaces.nsIRequest).URI.host + !== "versioncheck.addons.mozilla.org") return; + } catch(e) { + return; + } var newListener = new AMOStreamListener; newListener.oldListener = ch. QueryInterface(Components.interfaces.nsITraceableChannel).