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

YouTube video page stuck on loading #7654

Closed
GKid94 opened this issue Jul 12, 2020 · 10 comments
Closed

YouTube video page stuck on loading #7654

GKid94 opened this issue Jul 12, 2020 · 10 comments
Labels

Comments

@GKid94
Copy link

GKid94 commented Jul 12, 2020

Describe the issue

When I open a video on YouTube the video page get's stuck on loading and I get the Chrome page unresponsive message

Versions

  • Browser/version: Chrome Version 83.0.4103.116 (Official Build) (64-bit)
  • uBlock Origin version: uBlock Origin v1.27.10

Settings

! 6/19/2020 https://www.youtube.com
www.youtube.com##.ytp-button.ytp-miniplayer-button

Notes

@mapx-
Copy link
Contributor

mapx- commented Jul 12, 2020

I had to remove tons of useless info (for github ?).

No useful info here.

Just use uBO only with default settings and the lists updated. No other blocking extension.

@mapx- mapx- added the invalid label Jul 12, 2020
@mapx- mapx- closed this as completed Jul 12, 2020
@GKid94
Copy link
Author

GKid94 commented Jul 13, 2020

@mapx- Maybe this will help
Console log.txt

Screenshot_1

@gwarser
Copy link
Contributor

gwarser commented Jul 17, 2020

1000content-script-functions.js:1 Uncaught (in promise) TypeError: Cannot read property 'textContent' of undefined
    at getFPS (content-script-functions.js:1)
    at changeQuality (content-script-functions.js:1)
    at prepareToChangeQuality (content-script-functions.js:1)
    at MutationObserver.observe.childList (content-script-initialize.js:1)

Do you have any other YT add-on?


net::ERR_NETWORK_IO_SUSPENDED

Did you suspended your PC in the meantime?

@GKid94
Copy link
Author

GKid94 commented Jul 17, 2020

@gwarser
1)These are my extensions on the image below
2) No, I keep getting the page unresponsive Chrome popup when the video page won't load

Screenshot_2

hqdefault

@gwarser
Copy link
Contributor

gwarser commented Jul 17, 2020

It's "YouTube Auto HD + FPS" - https://chrome.google.com/webstore/detail/youtube-auto-hd-%2B-fps/fcphghnknhkimeagdglkljinmpbagone?hl=en source. It also has ability to execute arbitrary JS: script-src 'self' 'unsafe-eval'; - you should remove it.

@GKid94
Copy link
Author

GKid94 commented Jul 18, 2020

@gwarser I contacted the developer of that extension and he says that he doesn't have an issue with it

Screenshot_3

@gwarser
Copy link
Contributor

gwarser commented Jul 18, 2020

he says that he doesn't have an issue with it

It's what the console log reports - the exception I quoted above is from this extension (and it says it was logged 1000 times). I did not tried reproducing (especially when this extension can execute unsafe-eval). It's possible content scripts of your other YT add-ons/user scripts interfere with it.

@GKid94
Copy link
Author

GKid94 commented Jul 18, 2020

What is the unsfe-eval

@gwarser
Copy link
Contributor

gwarser commented Jul 18, 2020

Security feature https://en.wikipedia.org/wiki/Content_Security_Policy

unsafe-eval directive allows to execute arbitrary text as JavaScript code with add-on permissions.

@avi12
Copy link

avi12 commented Jul 18, 2020

It's "YouTube Auto HD + FPS" - https://chrome.google.com/webstore/detail/youtube-auto-hd-%2B-fps/fcphghnknhkimeagdglkljinmpbagone?hl=en source. It also has ability to execute arbitrary JS: script-src 'self' 'unsafe-eval'; - you should remove it.

The reason it's using script-src 'self' 'unsafe-eval' is that the pop-up window is using Vue.js.
Regarding the "page-freezing" problem, I am aware of it, but I don't have a solution to it yet.
This is occurring to me only when I'm watching a bunch of videos, one after the other.
As soon as I will have a solution, I will update the extension.

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

No branches or pull requests

4 participants