4

I tried the extension for both Chrome and Firefox.
I could install and configured them without problem

But when I try to save a resource in Zotero using the button in the toolbar, the resource is NOT saved.

I see the following error message in the extension error console:

--- chrome
[Error] undefined is not an object (evaluating 'tabInfo[tab.id].uninjectable') at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:1018
(anonymous function) (user-script:32:29)
(anonymous function) (zotero.js:324)
(anonymous function) (background.js:1062)
(anonymous function) (background.js:1071)
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating '
tabInfo[tab.id].uninjectable')
(anonymous function) (background.js:1063)
(anonymous function) (background.js:1071)

Steps to replicate:

  1. From the Zotero site, download, install and configure the Zotero extension for either Chrome or Firefox
  2. Go to a page you'd like to add to Zotero
  3. Click on the "Save to Zotero" button
  4. The link and the metadata are correctly saved to Zotero but the snapshot fails

I expected that a snapshot of the page would be added to Zotero app.

See also https://orionfeedback.org/d/785-zotero-extension-doesnt-work/27

Version 0.99.127.1-rc (WebKit 619.1.1) Build date Mar 26 2024 iMac Pro (macOS Sonoma 14.4 build 23E214)

Sonoma (14)

    25 days later

    also fail to save any sort of snapshot using the Zotero chrome plugin in Orion, only the entry + link and metadata is saved in Zotero. Browser plugin works as it should in Chrome.

    tried saving this random website cuz i had it open and my console brings me these errors:

    [Error] Cross origin requests are only supported for HTTP.
    	(anonymous function) (user-script:16:20071)
    	unpackArrayBuffer (user-script:16:20066)
    	(anonymous function) (user-script:16:20017)
    	postReceive (user-script:16:20010)
    	(anonymous function) (user-script:16:20166)
    	(anonymous function) (user-script:16:20157:93)
    [Error] Fetch API cannot load blob:chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/63676b8f-f00a-4aa3-8dd0-909403168137 due to access control checks.
    	(anonymous function) (user-script:16:20071)
    	unpackArrayBuffer (user-script:16:20066)
    	(anonymous function) (user-script:16:20017)
    	postReceive (user-script:16:20010)
    	(anonymous function) (user-script:16:20166)
    	(anonymous function) (user-script:16:20157:93)
    [Error] TypeError: Load failed
    
    	(anonymous function) (user-script:16:1300)
    	(anonymous function) (user-script:16:20171)
    [Error] Unhandled Promise Rejection: TypeError: Load failed
    	(anonymous function) (user-script:16:22177)

    28 errors total, each error 7 times. exact type and number of errors varies with website though, this other website wesbite gave me the same amount of errors, this one gives me similar ones, but +200 of them and in different repetition patterns, the plugin's popup is just stuck on the gray snapshot icon and doesn't display the error message either

    running the plugin on the first website, the plugin's "Report errors" section (right click the plugin's icon, Options>Advanced) lists [JavaScript Error: "Load failed"] 9 times

    using Orion Version 0.99.127.2-beta (WebKit 619.1.1) and macOS Sonoma 14.0 on a 2021 Macbook Pro

    10 days later

    As an awkward workaround, it is sometimes possible to save the link and metadata using the Zotero Connector Plugin and then save a webpage snapshot by dragging the URL (or more correctly, the favicon for the URL that appears when you select the address bar) from Orion onto the entry for the item in the Zotero application.

    Please see the following threads in the Zotero forum for more information on this functinality:

    This appears to work for some pages but not others. For example, I could not get this to work with Irish Times articles (e.g. https://www.irishtimes.com/politics/2024/04/30/immigration-row-taoiseach-expects-uk-to-honour-agreement-to-accept-return-of-asylum-seekers/). When this functionality does work, it may display popups such as cookie permissions where saving the article using the Zotero Extension in Firefox or Safari does not.

    If anyone has any other workarounds for this it would be very appreciated.

    No one is typing