Closed dstillman closed 4 months ago
Isn't this just a bug in the translator? https://github.com/zotero/translators/commit/113b77b14b446f27b04acbfa4ba3d38a99e9c25f
It's passing null
to observe()
, so it throws on Edge, where this code uses the MutationObserver directly and correctly, and on Chrome where MutationObserver is accessed via a proxy. The code that runs on Edge hasn't changed since MV3 introduction.
There seems to be a bug though on Chrome and Firefox where injected scripts are not receiving messages, which is what's causing this to not work. Investigating.
EDIT: Chrome and Edge intended above.
You mean Chrome and Edge? I guess it works in Firefox because we save PDFs a different way there.
We should also show a clearer error and bail more gracefully if null is passed to monitorDOMChanges
.
Closed with e7540aca7cad438e2fad6defee25cab696ff67ad
https://forums.zotero.org/discussion/115741/can-not-save-pdf-on-ieee-website-in-chrome/p1
Chrome:
Edge: