Open habitlab-feedback opened 3 years ago
I am having this issue also on Chrome 87 on Mac. It seems that several of the nudge scripts are broken on Chrome 87, especially those that pop up information on the page. The extension is mostly useless right now.
I looked at the error that it was spitting out in the Chrome developer console; it seems to be an issue with them using a deprecated function (createShadowRoot). See https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot for reference.
The error:
Uncaught (in promise) TypeError: (intermediate value)(intermediate value).createShadowRoot is not a function
at create_shadow_div (
I looked at the error that it was spitting out in the Chrome developer console; it seems to be an issue with them using a deprecated function (createShadowRoot). See https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot for reference. The error: Uncaught (in promise) TypeError: (intermediate value)(intermediate value).createShadowRoot is not a function at create_shadow_div (:58:304306) at wrap_in_shadow (:58:304561) at b (:58:287423) at :58:289314
Also, just for extra clarification, the nudge causing this problem is the Think Twice nudge, although others seem to cause the same errors. I might open a separate issue (and possibly a PR if I manage to fix the problem) specifically about using the deprecated functions. createShadowRoot has been replaced by another function, that I presume is similar enough to just replace the functions within the source without getting too involved, but I'll have to test by doing so myself.
A user submitted the following via HabitLab's built-in Feedback form:
Hi, I've been experiencing a problem on youtube where the video will only play for a fraction of a second and then pause again. I need to disable habitlab to fix this.