Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated "TypeError: document.querySelector(...) is null" in console #2

Closed
etekweb opened this issue May 18, 2023 · 2 comments
Closed

Comments

@etekweb
Copy link

etekweb commented May 18, 2023

This seems to cause added lag on the YouTube site.

Console logs from youtube.com:

[main.js:1532:14](moz-extension://0edcb5d9-321a-471f-8913-edb711bb2142/main.js)
TypeError: document.querySelector(...) is null
    watchPageEveryLoad moz-extension://0edcb5d9-321a-471f-8913-edb711bb2142/main.js:1532
    wait moz-extension://0edcb5d9-321a-471f-8913-edb711bb2142/main.js:38
    (Async: setInterval handler)
    waitFor moz-extension://0edcb5d9-321a-471f-8913-edb711bb2142/main.js:33
    urlListen moz-extension://0edcb5d9-321a-471f-8913-edb711bb2142/main.js:818

Seems to be from this line in main.js:

if (notNeedNewString == true) {
		  document.querySelector("#bt-desc-upload-date #published-on").style.display = "none";	

Browser: Firefox 112.0.2
Layout Select: Disabled

@lightbeam24
Copy link
Owner

I think I found the fix. It'll be in update 1.0.2.

@lightbeam24
Copy link
Owner

Fixed as of 1.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants