uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
3.58k stars 691 forks source link

ALL youtube.com issues (closed - Oct 2023) #7636

Closed romulasry closed 7 months ago

romulasry commented 3 years ago

URL(s) where the issue occurs

https://www.youtube.com/watch?v=I9_xshMOtjY

Describe the issue

When I click on a different time in some videos it says an error has occurred and the video stops playing. ### Screenshot(s)

Screenshot from 2020-07-04 17-59-08

Versions

Settings

-Enabled AdGuard Base

Notes

I don't see any setting that would cause any issues with youtube.

Edit: Was a DNS issue for me just FYI.

krystian3w commented 3 years ago

youtube.com###dialog

That cut only right part of pop-up, sometime pop-up have keyhole on left:

obraz

With other element ID.

krystian3w commented 3 years ago

@Yuki2718 YouTube(/Google) added ad in first line on homepage:

obraz obraz
incorrect hidden after use 👁️ button

can you found + reproduce and test this:

www.youtube.com##ytd-display-ad-renderer.style-scope.ytd-rich-item-renderer:upward(2)
obraz
##ytd-display-ad-renderer.style-scope.ytd-rich-item-renderer:upward(2)
Yuki2718 commented 3 years ago

@krystian3w No, I can't either on my account or without login, accessed from Japan.

architdate commented 3 years ago

Seems to be causing this on most videos on YT. Is there a fix for this? image

Example Video: This is the video that I was attempting to play

krystian3w commented 3 years ago

A/B test, need logon on specifc account or import specific cookies to enable.

architdate commented 3 years ago

Was that directed towards me? Sorry am unaware of what that is or any way to run the test to fix that issue.

Yuki2718 commented 3 years ago

He meant probably most of us can't reproduce as that will happen only on some accounts. At least I can't. But please fill in the template first even though you're not the first reporter here.

gwarser commented 3 years ago

This should get rid of login dialogs after navigating inside YT:

youtube.com##+js(json-prune, [].playerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer)

And this, consent dialog:

youtube.com##+js(json-prune, [].response.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)

Autoplay is working when enabled in Firefox.


Works for me with addition to:

youtube.com##+js(set, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer.isVisible, false)
youtube.com##+js(set, ytInitialData.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer.forceConsent, false)

To sum up (2020-12-02):

! login
youtube.com##+js(set, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer.isVisible, false)
youtube.com##+js(set, ytInitialData.overlay.upsellDialogRenderer.isVisible, false)
youtube.com##+js(json-prune, [].playerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer)
! probably this one is also neded, but I cannot reproduce anymore
! youtube.com##+js(json-prune, auxiliaryUi.messageRenderers.upsellDialogRenderer)
! consent
youtube.com##+js(set, ytInitialData.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer.forceConsent, false)
youtube.com##+js(json-prune, [].response.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)
! new, 2020-12-02, for dialog appearing after searching
youtube.com##+js(json-prune, topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)
ImperatorStorm commented 3 years ago

as @architdate failed to fill in an issue template as far as i can tell,

URL(s) where the issue occurs

https://www.youtube.com/watch?v=Hxf0ET3SOdQ

Describe the issue

Ads fail to load yet also fail to be removed entirely, leading to a screen where the video player is completely blank except for a "Skip-ad" button

Screenshot(s)

imageofissue

Versions

-Firefox v82.0
-uBlock Origin version: v1.30.7b4

Settings

-enabled EasyList, EasyPrivacy, uBlock filters – Annoyances, Peter Lowe’s Ad and tracking server list, built-in

Notes

occurs on any video with ads, may be inconsistent

krystian3w commented 3 years ago

@gwarser 1 or both solution with set-constant break load Homepage in the past: https://github.com/PolishFiltersTeam/PolishAnnoyanceFilters/issues/2529

Improved and "boosted" set-constant minimises the risk of failure of the YouTube Lazyload Homepage?

gwarser commented 3 years ago

@krystian3w json-prune should not affect home page, only pages loaded dynamically (red progress bar on top of YT page).

gwarser commented 3 years ago

set-constant break load Homepage in the past:

set-constant was changed few times recently - worth checking if it still causes problems.

gwarser commented 3 years ago

One more place where login dialog config is configured, when YT page is loaded from browser home page:

youtube.com##+js(set, ytInitialData.overlay.upsellDialogRenderer.isVisible, false)
krystian3w commented 3 years ago

Worse for 100,000 refreshments/openings I don't get caught up in the problematic A/B test of the new "lazyload" was glitched.

chaosvolt commented 3 years ago

None of the filter recommendations so far have had any effect on the partially-blocked ad issue that seems to be the most recent youtube problem.

The blank white screen itself can be selected and blocked, with the result being this will appear briefly whenever an ad attempts to load: image

After a few seconds the video itself loads up as normal.

krystian3w commented 3 years ago

You checked view videos as guest + clear cookies/localstorage?


Someone wrote to me that supposedly Northern Macedonia 🇲🇰 gets least of all advertisements, as if you can watch YouTube with the help of the VPN if you have no transfer limit in the VPN service.

But this is a solution until Google detects increased traffic from Macedonia 🇲🇰 or some specific VPNs.

ImperatorStorm commented 3 years ago

You checked view videos as guest + clear cookies/localstorage?

Did not fix, still encountering these ads

gwarser commented 3 years ago

Do you see these requests?

youtube.com/youtubei/v1/player?key
youtube.com/youtubei/v1/next?key

This may be some new YT interface.

ImperatorStorm commented 3 years ago

Do you see these requests?

youtube.com/youtubei/v1/player?key
youtube.com/youtubei/v1/next?key

yes

Lebon14 commented 3 years ago

imageofissue

Happens to me as well. Except the screen is white.

gwarser commented 3 years ago

I see it now too. Don't know if it was important, but I cleaned my cookies and then started watching only scientific channels. (my thought was, it may be "grammarly" ad, and is targeted at students).

Hiding or removing it causes error. Can make it transparent, but player looks dead. By reading the code, it looks like it's created in base.js - to make UI feel faster, only empty placeholder is created. However, for some reason I had problem last night to create working breakpoint - I'm still missing something. This code in base.js looks very generic it's huge and minimized - I don't see how it can be interrupted. Will try looking at it more later.


And yes, I see now /next and /player requests. /player seems to be new /get_video_info.

GarbageHamburger commented 3 years ago

Coming from the other issue I created. I see the following requests:

https://www.youtube.com/youtubei/v1/player?key=...
https://www.youtube.com/youtubei/v1/next?key=...

Anything I can help out with in regards to testing?

gwarser commented 3 years ago

json-prune does not work, because response is parsed by fetch

https://developer.mozilla.org/en-US/docs/Web/API/Body/json

gwarser commented 3 years ago

youtube.com##+js(set, fetch, undefined)? Forces compat mode?

I don't have /next and /player anymore.

h1z1 commented 3 years ago

youtube.com##+js(set, fetch, undefined)? Forces compat mode?

That brings firefox to it's knees for me. Youtube still leaks telemetry.

gwarser commented 3 years ago

Solution for "Skip Ads" white placeholder was found and uBO dev already has solution which works for majority of people.

ImperatorStorm commented 3 years ago

not sure if anything changed in latest version, but now https://www.youtube.com/watch?v=qltHOWeVuXE is showing nothing, no player, no ads, just a blank screen

imageOfProblem text at bottom is the title of the video

liamengland1 commented 3 years ago

YouTube is down, not a uBo problem

BogudanPro commented 3 years ago

In the last week noticed Youtube often not displaying "Up next" with other recommendations on one of profiles of FF (i run 2 in parallel) on one PC: just blank space where it should be. Others profiles and browsers on other PCs (4 checks in total) work correctly. UBO is not an issue in my case (same happens with it disabled). Just mentioning it here for others to know: it's issue on the YT side.

krystian3w commented 3 years ago

Wait for release as stable uBO 1.30.9.

Yuki2718 commented 3 years ago

Wait for release as stable uBO 1.30.9.

But that is about Skip Ad caused by json-prune not able to handle fetch. What's @BogudanPro reported looks different, though according to him not related to uBO.

asianmusicguy commented 3 years ago

@uBlock-user white ad pops up and have to click skip ad to continue

krystian3w commented 3 years ago

Try test with uBlock Origin Development:

architdate commented 3 years ago

For some reason GitHub did not notify me of updates to this issue so I did not realize I had to upload more details, however looking through the comments I can safely say that the current development branch does work with the white ads on YouTube. Thanks a lot for the fix!

Edit: for those who are still facing the issue with the development build, disable the stable build on YouTube only and reload. Should work after doing that.

uBlock-user commented 3 years ago

@asianmusicguy try the devbuild from the releases section

WoodpeckerBaby commented 3 years ago

I'm starting to get this as well.

This is a recent development.

Screen Shot 2020-11-20 at 8 53 31 PM
asianmusicguy commented 3 years ago

hopefully the build goes live soon?

cyberc33 commented 3 years ago

This ad on the youtube home page (above trends)

image

WoodpeckerBaby commented 3 years ago

Wondering if UBo conflicts with SponsorBlock for YouTube - Skip Sponsorships

To me, it's not obvious that it does.

ImperatorStorm commented 3 years ago

its not conflicting on my end

I-Knight-I commented 3 years ago

I just got the white screen issue with uBlock Origin 1.31.0 and Firefox 83.0 (64-bit).

If it's of any significance; I clicked on a suggested video pane at the end of a Discord embed which opened YT in my browser. I've spent the last 10 minutes clicking random videos and have yet to see it again fortunately.

Will update this comment if I came across the white screen elsewhere.

romulasry commented 3 years ago

Closing,, DNS issue.

liamengland1 commented 3 years ago

@mapx- since this is the youtube issue megathread of a sort, can you reopen?

krystian3w commented 3 years ago

No, github randomly block repopen for autor.

gwarser commented 3 years ago

Fix for consent dialog appearing after searching on YT was added to my comment: https://github.com/uBlockOrigin/uAssets/issues/7636#issuecomment-716228744

mat926 commented 3 years ago

I am also having this issue. I refreshed the page many times with an ad at the start to test. With uBlock enabled but BlockTube disabled, there is no sign of an ad. As soon as BlockTube is enabled and refresh, it displays a blank ad with a button to skip. It looks like this: https://imgur.com/a/rGPnKWL

There are likely other conditions causing the ad to appear, rather than only from BlockTube.

It has been mentioned a few times on the uBlock subreddit, including this post here: https://www.reddit.com/r/uBlockOrigin/comments/k2etlr

So it may be something fixable on uBlock's end.

ghost commented 3 years ago

Fix for consent dialog appearing after searching on YT was added in #7636 (comment)

Google added a new annoyance: gulag

krystian3w commented 3 years ago

IMO this is still GDPR, also can be hidden without:


If somebode will prove that is not GDPR and needed use e.g. :style( now will be worth for "uBlock Annoyances".

ghost commented 3 years ago

IMO this is still GDPR, also can be hidden without:

* [html filtering](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#html-filters) or

* [`:style()`](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#subjectstylearg) / [`:upward()`](https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters#subjectupwardarg) / [`:remove()`](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#subjectremove) / [`+js(`](https://github.com/gorhill/uBlock/wiki/Resources-Library) filter

in EasyList Cookie / AdGuard Annoyance.

If somebode will prove that is not GDPR or needed use e.g. :style( now will be worth for "uBlock Annoyances".

yep, checking Annoyances filter lists gets rid of it. Thanks!

mat926 commented 3 years ago

I am also having this issue. I refreshed the page many times with an ad at the start to test. With uBlock enabled but BlockTube disabled, there is no sign of an ad. As soon as BlockTube is enabled and refresh, it displays a blank ad with a button to skip. It looks like this: https://imgur.com/a/rGPnKWL

There are likely other conditions causing the ad to appear, rather than only from BlockTube.

It has been mentioned a few times on the uBlock subreddit, including this post here: https://www.reddit.com/r/uBlockOrigin/comments/k2etlr

So it may be something fixable on uBlock's end.

This issues seems to have come back for me