Zotero Connector add-on in firefox makes firefox lag
Hi,
After I updated firefox to version 55.0.1, I found that Zotero within firefox could not be used any more. It requires Zotero 5 + Zotero Connector. After this, I found that firefox lag very often when opening new tab(s). Firefox most of the time just freeze for 5-10 seconds. Then I disabled all add-ons, then turn on one for each time, to see if which add-ons causing the issue. It seems Zotero Connector causing the problem.
I am not sure if you have the same problem. Maybe other problems rather than Zotero Connector?
Any idea? Thank you guys.
After I updated firefox to version 55.0.1, I found that Zotero within firefox could not be used any more. It requires Zotero 5 + Zotero Connector. After this, I found that firefox lag very often when opening new tab(s). Firefox most of the time just freeze for 5-10 seconds. Then I disabled all add-ons, then turn on one for each time, to see if which add-ons causing the issue. It seems Zotero Connector causing the problem.
I am not sure if you have the same problem. Maybe other problems rather than Zotero Connector?
Any idea? Thank you guys.
We're looking into tab-related performance issues with the new connector, though except for the startup issue I noted there we haven't been able to reproduce anything like what you're reporting. Could you try generating a Debug ID that shows a freeze like this happening?
I am posting two Debug logs, one from Zotero 5 and followed by the one from Zotero Connector:
Zotero 5:
version => 5.0.10, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 5.0.10, extensions => Zotero LibreOffice Integration (5.0.6.SA.5.0.10, extension), Zotero Word for Windows Integration (5.0.2.SA.5.0.10, extension), Shockwave Flash (26.0.0.151, plugin)
(5)(+0071044): POST /connector/ping HTTP/1.1 Host: 127.0.0.1:23119 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/json X-Zotero-Version: 5.0.17 X-Zotero-Connector-API-Version: 2 Content-Length: 2 Connection: keep-alive
(5)(+0000001): HTTP/1.0 200 OK X-Zotero-Version: 5.0.10 X-Zotero-Connector-API-Version: 2 Content-Type: application/json {"prefs":{"automaticSnapshots":false}}
(5)(+0017146): POST /connector/ping HTTP/1.1 Host: 127.0.0.1:23119 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/json X-Zotero-Version: 5.0.17 X-Zotero-Connector-API-Version: 2 Content-Length: 2 Connection: keep-alive
(5)(+0000002): HTTP/1.0 200 OK X-Zotero-Version: 5.0.10 X-Zotero-Connector-API-Version: 2 Content-Type: application/json {"prefs":{"automaticSnapshots":false}}
[JavaScript Error: "Script injection timed out" {file: "moz-extension://3dc2133a-42e3-4007-80d0-acbf45a93ba5/background.js" line: 263}]
[JavaScript Error: "Script injection timed out" {file: "moz-extension://3dc2133a-42e3-4007-80d0-acbf45a93ba5/background.js" line: 263}]
[JavaScript Error: "Script injection timed out" {file: "moz-extension://3dc2133a-42e3-4007-80d0-acbf45a93ba5/background.js" line: 263}]
[JavaScript Error: "Script injection timed out" {file: "moz-extension://3dc2133a-42e3-4007-80d0-acbf45a93ba5/background.js" line: 263}]
connector => true, version => 5.0.17, platform => Win32, locale => en-US, userAgent => Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0, appName => Firefox Connector, zoteroAvailable => true
=========================================================
(3)(+0030815): Connector_Browser: onActivated for https://www.youtube.com/watch?v=6HvnRvUSHr4
(3)(+0001396): Connector_Browser: onActivated for https://www.youtube.com/watch?v=o992nCUj0bI
(3)(+0002230): Connector_Browser: onActivated for https://www.google.com.hk/search?client=firefox-b-ab&biw=1707&bih=868&tbm=vid&q=tyson+ip+man&oq=tyson+ip+man&gs_l=psy-ab.3..0l3.357601.361560.0.361832.12.12.0.0.0.0.205.898.10j0j1.11.0....0...1.1.64.psy-ab..1.11.894.YxZagS4vK9I
(3)(+0002447): HTTP POST http://127.0.0.1:23119/connector/ping
(3)(+0000013): Connector: Method ping succeeded
(3)(+0000220): Connector_Browser: URL changed for tab https://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=video&cd=3&ved=0ahUKEwiC2s2didLVAhVKfbwKHZ_ECS0QtwIILTAC&url=https://www.youtube.com/watch?v=6HvnRvUSHr4&usg=AFQjCNFCXRICDBejr6FJispYPAiq6KMyIQ
(3)(+0000069): Connector_Browser: onDOMContentLoaded for https://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=video&cd=3&ved=0ahUKEwiC2s2didLVAhVKfbwKHZ_ECS0QtwIILTAC&url=https://www.youtube.com/watch?v=6HvnRvUSHr4&usg=AFQjCNFCXRICDBejr6FJispYPAiq6KMyIQ; https://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=video&cd=3&ved=0ahUKEwiC2s2didLVAhVKfbwKHZ_ECS0QtwIILTAC&url=https://www.youtube.com/watch?v=6HvnRvUSHr4&usg=AFQjCNFCXRICDBejr6FJispYPAiq6KMyIQ
(3)(+0000008): Injecting translation scripts into 0 https://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=video&cd=3&ved=0ahUKEwiC2s2didLVAhVKfbwKHZ_ECS0QtwIILTAC&url=https://www.youtube.com/watch?v=6HvnRvUSHr4&usg=AFQjCNFCXRICDBejr6FJispYPAiq6KMyIQ
(3)(+0000000): Injecting scripts into https://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=video&cd=3&ved=0ahUKEwiC2s2didLVAhVKfbwKHZ_ECS0QtwIILTAC&url=https://www.youtube.com/watch?v=6HvnRvUSHr4&usg=AFQjCNFCXRICDBejr6FJispYPAiq6KMyIQ : node_modules.js, zotero_config.js, zotero.js, promise.js, http.js, proxy.js, cachedTypes.js, zotero/date.js, zotero/debug.js, zotero/openurl.js, zotero/xregexp/xregexp.js, zotero/xregexp/addons/build.js, zotero/xregexp/addons/matchrecursive.js, zotero/xregexp/addons/unicode/unicode-base.js, zotero/xregexp/addons/unicode/unicode-categories.js, zotero/xregexp/addons/unicode/unicode-zotero.js, zotero/rdf/init.js, zotero/rdf/uri.js, zotero/rdf/term.js, zotero/rdf/identity.js, zotero/rdf/match.js, zotero/rdf/rdfparser.js, zotero/translation/translate.js, zotero/translation/translator.js, translate_item.js, zotero/connectorTypeSchemaData.js, zotero/utilities.js, zotero/utilities_translate.js, utilities.js, inject/http.js, inject/progressWindow.js, inject/translate_inject.js, messages.js, messaging_inject.js, api.js, inject/inject.js
(3)(+0011263): Connector_Browser: URL changed for tab https://www.youtube.com/watch?v=6HvnRvUSHr4
(3)(+0000044): Connector_Browser.injectTranslationScripts: Script injection rejected 61-0
(3)(+0000732): Connector_Browser: URL changed for tab https://www.youtube.com/watch?v=6HvnRvUSHr4
(3)(+0000029): Connector_Browser: onDOMContentLoaded for https://www.youtube.com/watch?v=6HvnRvUSHr4; javascript:""
(3)(+0000001): Translators: Looking for translators for javascript:""
(3)(+0000000): Not injecting. No translators found for [tab.url, url]: https://www.youtube.com/watch?v=6HvnRvUSHr4 , javascript:""
(3)(+0000037): Connector_Browser: onDOMContentLoaded for https://www.youtube.com/watch?v=6HvnRvUSHr4; https://www.youtube.com/watch?v=6HvnRvUSHr4
(3)(+0000002): Injecting translation scripts into 0 https://www.youtube.com/watch?v=6HvnRvUSHr4
(3)(+0000001): Injecting scripts into https://www.youtube.com/watch?v=6HvnRvUSHr4 : node_modules.js, zotero_config.js, zotero.js, promise.js, http.js, proxy.js, cachedTypes.js, zotero/date.js, zotero/debug.js, zotero/openurl.js, zotero/xregexp/xregexp.js, zotero/xregexp/addons/build.js, zotero/xregexp/addons/matchrecursive.js, zotero/xregexp/addons/unicode/unicode-base.js, zotero/xregexp/addons/unicode/unicode-categories.js, zotero/xregexp/addons/unicode/unicode-zotero.js, zotero/rdf/init.js, zotero/rdf/uri.js, zotero/rdf/term.js, zotero/rdf/identity.js, zotero/rdf/match.js, zotero/rdf/rdfparser.js, zotero/translation/translate.js, zotero/translation/translator.js, translate_item.js, zotero/connectorTypeSchemaData.js, zotero/utilities.js, zotero/utilities_translate.js, utilities.js, inject/http.js, inject/progressWindow.js, inject/translate_inject.js, messages.js, messaging_inject.js, api.js, inject/inject.js
(3)(+0001734): Connector_Browser: onActivated for https://www.youtube.com/watch?v=6HvnRvUSHr4
(3)(+0001274): Connector_Browser.injectTranslationScripts: Script injection rejected 61-0
(3)(+0000615): Translators: Looking for translators for https://www.youtube.com/watch?v=6HvnRvUSHr4
(4)(+0000049): Translate: Binding sandbox to https://www.youtube.com/watch?v=6HvnRvUSHr4
(4)(+0000000): Translate: Parsing code for YouTube (d3b1d34c-f8a1-43bb-9dd6-27aa6403b217, 2015-09-18 21:24:14)
(4)(+0000001): Translate: Parsing code for unAPI (e7e01cac-1e37-4da6-b078-a0e8343b0e98, 2015-06-04 03:25:27)
(4)(+0000001): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)
(4)(+0000001): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2017-06-22 04:20:00)
(3)(+0000000): Translate: Embedded Metadata: found 57 meta tags.
(3)(+0000000): Translate: Creating translate instance of type import in sandbox
(4)(+0000026): Translate: Binding sandbox to https://www.youtube.com/watch?v=6HvnRvUSHr4
(4)(+0000001): Translate: Parsing code for RDF (5e3ad958-ac79-463d-812b-a86a9235c28f, 2017-07-08 08:20:00)
(3)(+0000001): Translate: Initializing RDF data store
(4)(+0000000): Translate: Parsing code for DOI (c159dcfe-8a53-4301-a499-30f6549c340d, 2016-11-05 10:57:01)
(3)(+0000001): Translate: All translator detect calls and RPC calls complete:
(3)(+0000000): YouTube: 100
(3)(+0000000): Embedded Metadata: 320
(5)(+0000001): Translate: Running handler 0 for translators
(5)(+0000004): Translate: Running handler 1 for translators
(3)(+0001005): Connector_Browser: onActivated for moz-extension://3dc2133a-42e3-4007-80d0-acbf45a93ba5/preferences/preferences.html#advanced
(3)(+0000001): HTTP POST http://127.0.0.1:23119/connector/ping
(3)(+0000043): Connector: Method ping succeeded
For this: (Zotero for Firefox still works — you just need the latest version for Firefox 55 compatibility.)
Seems i cannot find the latest version of Zotero for Firefox in here: https://www.zotero.org/download/
These are not the one like before, which can be installed within Firefox, as an add-on.
I also found that sometimes the lag disappeared. The logs were produced when the lag was consistent and repeatable. The new tabs were loading one by one then showed the FF window was non-responsive, need to wait until all tabs loading finished. It was not possible to read other tabs that already loaded. I found that it happens when I clicked on the links of some search results in Google.