Uassets: YouTube video page stuck on loading

Created on 12 Jul 2020  路  10Comments  路  Source: uBlockOrigin/uAssets

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

invalid

Most helpful comment

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.

All 10 comments

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- Maybe this will help
Console log.txt

Screenshot_1

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?

@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

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.

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

Screenshot_3

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.

What is the unsfe-eval

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.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pepablock picture pepablock  路  4Comments

ghost picture ghost  路  3Comments

BurungHantu1605 picture BurungHantu1605  路  3Comments

ghost picture ghost  路  3Comments

krystian3w picture krystian3w  路  3Comments