Closed Oafish1 closed 3 years ago
Thanks for reporting it, I'm working on a new version of the add-on that will fix this issue and bring new functionality hopefully I will create a new release by the end of the week
Awesome! Looking forward to it. Loving the addon.
I already submitted the changes for Chrome, it should be updated after it passes the review process. Unfortunately Firefox does not support manifest v3 yet, so I might create a patch version instead of a new release for this browser.
Submitted now a fixed version with Firefox, unfortunately it will not have the new functionality just bug fixes.
The new Chrome version is now published.
Hello! Thank you for making this.
Neither of the addons (Firefox/Chrome) work for me out of the box. This seemed to be because
title
was being returned asnull
sincedocument.querySelector("h1").firstChild.innerText
finds nothing.However, a slight modification to
document.querySelector("h1.title").firstChild.innerText
on lines 46 and 71 ofyoutube2Anki.js
from version 0a75e (two pulls ago) fixed everything for me.This version also needed the first line of
popup.js
to be changed fromconst connectionMessage = document.getElementById("connectionMessages")
toconst connectionMessage = document.getElementById("connectionMessage")
which you already addressed in later versions.