Zotero Connector translators take very long to load in Safari

Zotero Debug ID: D2008601591
Example website: https://link.springer.com/chapter/10.1007/3-540-45720-8_19

When I navigate to a website the Zotero Connector icon will first say "Save to Zotero (Webpage with Snapshot)" and only after 10+ seconds it will have the correct translator (e.g. "Save to Zotero (ACM Digital Library)".

When I open Safari's web inspector, I see the following JavaScript errors (but I am not sure if they are related):

Blocked a frame with origin "https://www.mainadv.com" from accessing a frame with origin "https://link.springer.com". Protocols, domains, and ports must match. in inject.js:696
Blocked a frame with origin "https://ck.tangooserver.com" from accessing a frame with origin "https://www.mainadv.com". Protocols, domains, and ports must match. in inject.js:696
SyntaxError: Can't create duplicate variable: 'ZOTERO_CONFIG' in pubads_impl.js:10:5580
SyntaxError: Can't create duplicate variable: 'Schema' in pubads_impl.js:10:5580
TypeError: undefined is not an object (evaluating 'Zotero.Schema.init') in schema.js:2
SyntaxError: Can't create duplicate variable: 'MESSAGE_SEPARATOR' in pubads_impl.js:10:5580
SyntaxError: Can't create duplicate variable: 'isWeb in pubads_impl.js:10:5580
SyntaxError: Can't create duplicate variable: 'ZoteroFrame' in pubads_impl.js:10:5580
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'Zotero.Schema.init') in inject.js:704

I'm on Zotero 6.0.23, Safari 16.3 and macOS 13.2.1.

In my Safari Privacy settings, the options "Prevent cross-site tracking" and "Hide IP address from trackers" are checked.
If I uncheck these, the correct Zotero translator shows up instantly.

So these options seem to be problematic - is there any other solution than disabling them?
  • Zotero Connector waits for the website to fully load, as it is reported by Safari, before it runs translator detection. If something, including privacy options, cause websites to load slower, then Zotero Connector will also display translators slower. This would generally fall under Safari bugs, so you should report it to Apple.
  • @thomasflinkow: You might have better luck reporting it to Springer. And note that this doesn't have anything to do with Zotero and you shouldn't mention Zotero — you can see just from the Safari progress bar that their site just isn't loading properly in Safari with those settings enabled.
Sign In or Register to comment.