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

🟥 ALL YouTube issues: D-O-N-'T COMMENT without reading the 1st post🟥 #20586

Open
5 tasks done
stephenhawk8054 opened this issue Nov 10, 2023 · 1,505 comments
Open
5 tasks done
Labels
ongoing ongoing issue

Comments

@stephenhawk8054
Copy link
Member

stephenhawk8054 commented Nov 10, 2023

⚠️ P-L-E-A-S-E, PLEASE, PLEASE, PLEASE read and follow all of the instructions first ⚠️

June 2024

For ads issue, please check: #20586 (comment)


Note: After each step, close your current tabs and open new tab to test again or it won't work.

If you got 282054944 error on player, DO NOT CLEAR COOKIES.

  • I updated uBO to the latest versions (1.58.0++)
video tutorial
1-update-uBO.mp4
  • I removed custom config / reset to defaults. <== This means removing your custom filters (or disabling My filters) and disabling ALL additional lists you've enabled manually. It might be quicker to make a backup of your config and restore to defaults instead.
video tutorials
2-disabling-custom-filter-config.mp4
2-2-reset-to-defaults.mp4
  • My filter lists are up to date.

click this link then load Youtube in a new tab.

Some browsers with built-in blockers

  • Opera, Vivaldi, Brave
  • Edge: Click on "lock" icon at the left of URL bar -> Turn off Tracking Prevention
video tutorial
4-disabling-extensions.mp4
  • I did not remove any of the default filter lists, or I have verified that the issue was not caused by removing any of the default lists.

Restarting your browser afterwards may help too. On Chromium-based browsers uBO can't reliably block ads after you launched browser or switched profiles including "Open link in incognito" and "Open link as User X". This state of unable-to-block will be kept until you do manual refresh of the page.


🟥 When reporting, A-L-W-A-Y-S provide your Troubleshooting Information! ALWAYS!! 🟥

On YouTube: 🛡️ uBO's icon > 💬 Report > Click "Troubleshooting information" > Select all > Copy > Share it.

video tutorial
5-copying-troubleshooting-info.mp4

It is Youtube's own issue that endcards are shown too early if SSAP ads play. Do not report them as uBO's issue unless you're 100% sure this is caused by filters.

Youtube is actively messing up their own site if you have seen in-video warning regardless if you have any blocker enabled or not.

If you suffer slow loading, test

www.youtube.com##+js(nano-stb, resolve(1), *, 0.001)
www.youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_enable_ab_rsp_cl, false)
www.youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.ab_pl_man, false)
||googlevideo.com/videoplayback$xhr,3p,method=get,domain=www.youtube.com

at your own risk.


Old youtube threads

@stephenhawk8054 stephenhawk8054 added the ongoing ongoing issue label Nov 10, 2023
@stephenhawk8054
Copy link
Member Author

stephenhawk8054 commented Nov 10, 2023

June 2024 - YouTube ads issue: PLEASE UPDATE QUICK FIX LIST by clicking this link

When reporting, please tell exactly which BROWSER you are using, which METHOD you are testing and DESCRIBE the steps to reproduce the issue in details, including the URLs where you see the issue.

@stephenhawk8054 stephenhawk8054 pinned this issue Nov 10, 2023
@mapx- mapx- mentioned this issue Nov 10, 2023
10 tasks
@TheAGames10

This comment was marked as off-topic.

@iam-py-test

This comment was marked as off-topic.

@TheAGames10

This comment was marked as off-topic.

@iam-py-test
Copy link
Contributor

iam-py-test commented Nov 10, 2023

Disable everything other than uBlock Origin and see if it does away.
Then, enable them one-by-one and see which one caused it.
Thanks

@TheAGames10

This comment was marked as resolved.

@u-RraaLL

This comment was marked as resolved.

@FrostedNiips

This comment was marked as outdated.

@stephenhawk8054
Copy link
Member Author

@FrostedNiips Please follow the instructions in the top post

stephenhawk8054 added a commit that referenced this issue Nov 12, 2023
stephenhawk8054 added a commit that referenced this issue Nov 12, 2023
@somebody0278
Copy link

somebody0278 commented Nov 12, 2023

Ublock breaks youtube on mac for me.

uBlock Origin: 1.53.0
Firefox: 119
filterset (summary):
 network: 104128
 cosmetic: 43497
 scriptlet: 18720
 html: 1098
listset (total-discarded, last-updated):
 default:
  user-filters: 0-0, never
  ublock-filters: 36130-144, 25m
  ublock-badware: 7447-5, 25m
  ublock-privacy: 661-0, 25m
  ublock-unbreak: 2194-1, 25m
  ublock-quick-fixes: 175-7, 25m
  easylist: 75238-700, 24m
  easyprivacy: 32873-725, 24m
  urlhaus-1: 10735-0, 24m
  plowe-0: 3723-1, 24m
filterset (user): [empty]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 395 ms (selfie)
 maxAssetCacheWait: 147 ms
popupPanel:
 blocked: 33
 network:
  youtube.com: 10
  doubleclick.net: 9
  google.com: 8
  googlevideo.com: 6
 extended:
  ###player-ads
  ###merch-shelf
  ##.ytp-ad-progress-list
  ##[target-id="engagement-panel-ads"]
  ##div.ytd-ad-slot-renderer
  ##div.ytd-in-feed-ad-layout-renderer
  ##ytd-ad-slot-renderer
  ##ytd-promoted-sparkles-web-renderer
  ###player [class*="suggested-action-badge-icon"]:upward(.ytp-sug…
  ##+js(trusted-replace-fetch-response, /(contextParams":"Q0F[A-Z]…
  ##+js(trusted-replace-fetch-response, /((?:(?:&|%26)id(?:=|%3D)o…
  ##+js(trusted-replace-xhr-response, /"adPlacements.*?\"\}\}\}\]\…
  ##+js(set-constant, ytInitialPlayerResponse.playerAds, undefined…
  ##+js(set-constant, ytInitialPlayerResponse.adPlacements, undefi…
  ##+js(set-constant, ytInitialPlayerResponse.adSlots, undefined)
  ##+js(set-constant, playerResponse.adPlacements, undefined)

https://github.com/uBlockOrigin/uAssets/assets/143534364/370cc4f7-9521-4859-9a3f-ed70aa89895c

@stephenhawk8054
Copy link
Member Author

@somebody0278 Can you test this filter?

www.youtube.com#@#+js(trusted-replace-fetch-response, /((?:(?:&|%26)id(?:=|%3D)o-A[A-Z]|yt_live_broadcast).*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)

Click on uBO icon > ⚙ Dashboard button > Add the filter(s) in "My filters" pane > ✓ Apply changes > Open new tab and test again.

@somebody0278
Copy link

I do not think so it works

@stephenhawk8054
Copy link
Member Author

@somebody0278 So does it work or not?

@somebody0278
Copy link

somebody0278 commented Nov 12, 2023

no
EDIT: still not

@stephenhawk8054
Copy link
Member Author

stephenhawk8054 commented Nov 12, 2023

@somebody0278 Keep the above one, how about this?

/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,domain=www.youtube.com,badfilter

@mapx- mapx- mentioned this issue Nov 12, 2023
10 tasks
@stephenhawk8054
Copy link
Member Author

@somebody0278 Can you do these steps (follow strictly the step order, don't mix the steps orders, or skip any steps):

  1. Click on uBO icon > ▤ "The logger" icon, it will open a logger window
  2. Open new tab and reproduce the issue
  3. Switch to the logger window that was opened in step 1, click on search bar, choose blocked
  4. Copy the logger via 📋 export/copy button at the top right
  5. Paste the logs here

@MandiYang
Copy link

I can reproduce @somebody0278 issue. but only on some specific videos in that youtuber's playlist.

uBlock Origin: 1.53.0
Firefox: 119
filterset (summary):
 network: 183492
 cosmetic: 47755
 scriptlet: 23454
 html: 1308
listset (total-discarded, last-updated):
 added:
  https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt: 978-0, now
  curben-phishing: 77327-30, now
  ublock-annoyances: 5771-13, now
  SWE-1: 4532-6, now
 default:
  user-filters: 0-0, never
  ublock-filters: 36153-144, now
  ublock-badware: 7447-5, now
  ublock-privacy: 662-0, now
  ublock-unbreak: 2194-1, now
  ublock-quick-fixes: 174-7, 1h.4m
  easylist: 75238-708, now
  easyprivacy: 32873-732, now
  urlhaus-1: 10735-0, now
  plowe-0: 3723-1, now
filterset (user): [empty]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 1233 ms (selfie)
 maxAssetCacheWait: 385 ms
popupPanel:
 blocked: 13
 network:
  youtube.com: 3
  doubleclick.net: 3
  google.com: 1
  googlevideo.com: 6
 extended:
  ###merch-shelf
  ###player-ads
  ##.ytp-ad-progress-list
  ##[target-id="engagement-panel-ads"]
  ##div.ytd-ad-slot-renderer
  ##div.ytd-in-feed-ad-layout-renderer
  ##ytd-ad-slot-renderer
  ##ytd-promoted-sparkles-web-renderer
  ###player [class*="suggested-action-badge-icon"]:upward(.ytp-sug…
  ##+js(trusted-replace-fetch-response, /(contextParams":"Q0F[A-Z]…
  ##+js(trusted-replace-xhr-response, /"adPlacements.*?\"\}\}\}\]\…
  ##+js(trusted-replace-fetch-response, /((?:(?:&|%26)id(?:=|%3D)o…
  ##+js(trusted-set-cookie, SOCS, CAISNQgDEitib3FfaWRlbnRpdHlmcm9u…
  ##+js(set-constant, ytInitialPlayerResponse.auxiliaryUi.messageR…
  ##+js(json-prune, auxiliaryUi.messageRenderers.upsellDialogRende…
  ##+js(set-constant, ytInitialPlayerResponse.playerAds, undefined…
  ##+js(set-constant, ytInitialPlayerResponse.adPlacements, undefi…
  ##+js(set-constant, ytInitialPlayerResponse.adSlots, undefined)
  ##+js(set-constant, playerResponse.adPlacements, undefined)

@stephenhawk8054
Copy link
Member Author

@MandiYang Can you test the 2 filters above?

@MandiYang
Copy link

MandiYang commented Nov 12, 2023

Ok, sure but I got this on logger(EDIT:without the 2 filters):

+28
||youtube.com/api/stats/qoe?
--
www.youtube.com
1
post
xhr
https://www.youtube.com/api/stats/qoe?fmt=247&afmt=251&cpn=BnrJrDp3eOGxX4si&el=detailpage&ns=yt&fexp=v1%2C23983296%2C2737%2C18611%2C2602%2C73492%2C54572%2C73455%2C162633%2C381%2C13949%2C53633%2C60173%2C24564%2C17228%2C1867%2C4%2C4%2C6585%2C132%2C540%2C8869%2C1089%2C5877%2C394%2C3200%2C20079%2C109933%2C26306282%2C4054%2C1253%2C677%2C5181%2C9369%2C820%2C736%2C2040%2C7229%2C859%2C406%2C688%2C1431%2C885%2C2187%2C155%2C4104%2C787%2C3225%2C752%2C2898%2C2035&cl=580336156&seq=2&docid=9snW_ICT-a8&ei=kcNQZbfgEuW7v_IPpKOEgAE&event=streamingstats&plid=AAYJ85wg8vKSOljx&qclc=ChBCbnJKckRwM2VPR3hYNHNpEAI&embargoed=0&cbr=Firefox&cbrver=119.0&c=WEB&cver=2.20231110.00.00&cplayer=UNIPLAYER&cos=X11&cplatform=DESKTOP&afs=0.084:251::i&cmt=0.141:0.000,1.671:0.000,9.567:0.000,9.569:0.000&vps=0.141:B,1.671:N,9.567:SU,9.569:SU&ctmp=dompaused:t.1696;r.promise;m.NotAllowedError&bwm=9.569:3342288:9.414&bh=9.569:0.000

+28
noop.txt
<<
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+28
||doubleclick.net^$xhr,redirect-rule=noop.txt
--
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+28
||doubleclick.net^
--
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+26
/generate_204?$image
--
www.youtube.com
1
get
image
https://www.youtube.com/generate_204?facGhw

+25
##ytd-promoted-sparkles-web-renderer
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+25
##ytd-ad-slot-renderer
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+25
##div.ytd-in-feed-ad-layout-renderer
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+25
##div.ytd-ad-slot-renderer
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+25
##[target-id="engagement-panel-ads"]
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+25
###player-ads
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+25
###merch-shelf
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=2

+23
doubleclick_instream_ad_status.js
<<
www.youtube.com
3
get
script
https://static.doubleclick.net/instream/ad_status.js

+23
||doubleclick.net/instream/ad_status.js$script,redirect-rule=doubleclick_instream_ad_status.js
--
www.youtube.com
3
get
script
https://static.doubleclick.net/instream/ad_status.js

+23
||doubleclick.net^
--
www.youtube.com
3
get
script
https://static.doubleclick.net/instream/ad_status.js

+22
/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,from=www.youtube.com
--
www.youtube.com
3
get
xhr
https://rr1---sn-hgn7yn7e.googlevideo.com/videoplayback?expire=7063457070&ei=TqaVcUHSuq7rcSyQyTXVMTo&ip=94.85.13.16&id=NPtytzM0bl5xR4Cr2-UJDL2jhww_9BoXR9Kv1riuAJQ4pa&itag=18&source=youtube&requiressl=yes&mh=X6&mm=790%2C92141%2C32842&mn=1il8t%2Ck9Vra%2CASCHr&ms=1il8t%2Ck9Vra%2CASCHr&mv=g&mvi=0&pl=05&initcwndbps=7337881&siu=0&spc=XbQqMUaIVgu1kVaElOztsDBrJP3n7JTyUQrNgjIg3vc2&vprv=0&svpuc=0&mime=video%2Fmp4&ns=S0k0BPoClrHBs5WqWwhsfa63&cnr=05&ratebypass=yes&dur=78497144&lmt=6948696885291441&mt=7063457070&fvip=3&c=WEB&txp=7337881&n=YHVqb53abtQN4GyK&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Csiu%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt

+22
/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,from=www.youtube.com
--
www.youtube.com
3
get
xhr
https://rr1---sn-hgn7yn7e.googlevideo.com/videoplayback?expire=7063457070&ei=TqaVcUHSuq7rcSyQyTXVMTo&ip=94.85.13.16&id=NPtytzM0bl5xR4Cr2-UJDL2jhww_9BoXR9Kv1riuAJQ4pa&itag=18&source=youtube&requiressl=yes&mh=X6&mm=790%2C92141%2C32842&mn=1il8t%2Ck9Vra%2CASCHr&ms=1il8t%2Ck9Vra%2CASCHr&mv=g&mvi=0&pl=05&ctier=L&initcwndbps=7337881&siu=0&spc=XbQqMUaIVgu1kVaElOztsDBrJP3n7JTyUQrNgjIg3vc2&vprv=0&svpuc=0&mime=video%2Fmp4&ns=S0k0BPoClrHBs5WqWwhsfa63&cnr=05&ratebypass=yes&dur=78497144&lmt=6948696885291441&mt=7063457070&fvip=3&c=WEB&txp=7337881&n=YHVqb53abtQN4GyK&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Csiu%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt

+22
/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,from=www.youtube.com
--
www.youtube.com
3
get
xhr
https://rr1---sn-hgn7yn7e.googlevideo.com/videoplayback?expire=7063457070&ei=TqaVcUHSuq7rcSyQyTXVMTo&ip=94.85.13.16&id=NPtytzM0bl5xR4Cr2-UJDL2jhww_9BoXR9Kv1riuAJQ4pa&itag=18&source=youtube&requiressl=yes&mh=X6&mm=790%2C92141%2C32842&mn=1il8t%2Ck9Vra%2CASCHr&ms=1il8t%2Ck9Vra%2CASCHr&mv=g&mvi=0&pl=05&initcwndbps=7337881&siu=0&spc=XbQqMUaIVgu1kVaElOztsDBrJP3n7JTyUQrNgjIg3vc2&vprv=0&svpuc=0&mime=video%2Fmp4&ns=S0k0BPoClrHBs5WqWwhsfa63&cnr=05&ratebypass=yes&dur=78497144&lmt=6948696885291441&mt=7063457070&fvip=3&c=WEB&txp=7337881&n=YHVqb53abtQN4GyK&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Csiu%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt

+22
/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,from=www.youtube.com
--
www.youtube.com
3
get
xhr
https://rr1---sn-hgn7yn7e.googlevideo.com/videoplayback?expire=7063457070&ei=TqaVcUHSuq7rcSyQyTXVMTo&ip=94.85.13.16&id=NPtytzM0bl5xR4Cr2-UJDL2jhww_9BoXR9Kv1riuAJQ4pa&itag=18&source=youtube&requiressl=yes&mh=X6&mm=790%2C92141%2C32842&mn=1il8t%2Ck9Vra%2CASCHr&ms=1il8t%2Ck9Vra%2CASCHr&mv=g&mvi=0&pl=05&ctier=L&initcwndbps=7337881&siu=0&spc=XbQqMUaIVgu1kVaElOztsDBrJP3n7JTyUQrNgjIg3vc2&vprv=0&svpuc=0&mime=video%2Fmp4&ns=S0k0BPoClrHBs5WqWwhsfa63&cnr=05&ratebypass=yes&dur=78497144&lmt=6948696885291441&mt=7063457070&fvip=3&c=WEB&txp=7337881&n=YHVqb53abtQN4GyK&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Csiu%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt

+22
/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,from=www.youtube.com
--
www.youtube.com
3
get
xhr
https://rr1---sn-hgn7yn7e.googlevideo.com/videoplayback?expire=7063457070&ei=TqaVcUHSuq7rcSyQyTXVMTo&ip=94.85.13.16&id=NPtytzM0bl5xR4Cr2-UJDL2jhww_9BoXR9Kv1riuAJQ4pa&itag=18&source=youtube&requiressl=yes&mh=X6&mm=790%2C92141%2C32842&mn=1il8t%2Ck9Vra%2CASCHr&ms=1il8t%2Ck9Vra%2CASCHr&mv=g&mvi=0&pl=05&initcwndbps=7337881&siu=0&spc=XbQqMUaIVgu1kVaElOztsDBrJP3n7JTyUQrNgjIg3vc2&vprv=0&svpuc=0&mime=video%2Fmp4&ns=S0k0BPoClrHBs5WqWwhsfa63&cnr=05&ratebypass=yes&dur=78497144&lmt=6948696885291441&mt=7063457070&fvip=3&c=WEB&txp=7337881&n=YHVqb53abtQN4GyK&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Csiu%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt

+22
/^https:\/\/[-\w]+\.googlevideo\.com\/videoplayback\?expire=([02-9]|1[0-589]|16[0-8]|169[0-8]|1699[0-5])/$xhr,3p,method=get,from=www.youtube.com
--
www.youtube.com
3
get
xhr
https://rr1---sn-hgn7yn7e.googlevideo.com/videoplayback?expire=7063457070&ei=TqaVcUHSuq7rcSyQyTXVMTo&ip=94.85.13.16&id=NPtytzM0bl5xR4Cr2-UJDL2jhww_9BoXR9Kv1riuAJQ4pa&itag=18&source=youtube&requiressl=yes&mh=X6&mm=790%2C92141%2C32842&mn=1il8t%2Ck9Vra%2CASCHr&ms=1il8t%2Ck9Vra%2CASCHr&mv=g&mvi=0&pl=05&ctier=L&initcwndbps=7337881&siu=0&spc=XbQqMUaIVgu1kVaElOztsDBrJP3n7JTyUQrNgjIg3vc2&vprv=0&svpuc=0&mime=video%2Fmp4&ns=S0k0BPoClrHBs5WqWwhsfa63&cnr=05&ratebypass=yes&dur=78497144&lmt=6948696885291441&mt=7063457070&fvip=3&c=WEB&txp=7337881&n=YHVqb53abtQN4GyK&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Csiu%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=Yvt4kQsXOy0fcVYNUABbduPvsciURu14XcKLKNVAptfi7L_U08Izyimzths-hNqJsfy8_zS9ZlwUusjlHTTKmdy8QWW4R2PwMAZPbieoJikt

+21
##.ytp-ad-progress-list
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
###player [class*="suggested-action-badge-icon"]:upward(.ytp-suggested-action)
www.youtube.com
get
dom
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(set-constant, playerResponse.adPlacements, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(set-constant, ytInitialPlayerResponse.adSlots, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(set-constant, ytInitialPlayerResponse.adPlacements, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(set-constant, ytInitialPlayerResponse.playerAds, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(json-prune, auxiliaryUi.messageRenderers.upsellDialogRenderer)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(set-constant, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(trusted-set-cookie, SOCS, CAISNQgDEitib3FfaWRlbnRpdHlmcm9udGVuZHVpc2VydmVyXzIwMjMwODI5LjA3X3AxGgJlbiADGgYIgJnPpwY, , , reload, 1)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(trusted-replace-fetch-response, /((?:(?:&|%26)id(?:=|%3D)o-A[A-Z]|yt_live_broadcast).*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(trusted-replace-xhr-response, /"adPlacements.*?\"\}\}\}\]\,/, , /player\?key=|watch\?v=|youtubei\/v1\/player/)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+21
##+js(trusted-replace-fetch-response, /(contextParams":"Q0F[A-Z]U.*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+20
noop.txt
<<
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+20
||doubleclick.net^$xhr,redirect-rule=noop.txt
--
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+20
||doubleclick.net^
--
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+19
||youtube.com/api/stats/qoe?
--
www.youtube.com
1
post
xhr
https://www.youtube.com/api/stats/qoe?fmt=247&cpn=BnrJrDp3eOGxX4si&el=detailpage&ns=yt&fexp=v1%2C23983296%2C2737%2C18611%2C2602%2C73492%2C54572%2C73455%2C162633%2C381%2C13949%2C53633%2C60173%2C24564%2C17228%2C1867%2C4%2C4%2C6585%2C132%2C540%2C8869%2C1089%2C5877%2C394%2C3200%2C20079%2C109933%2C26306282%2C4054%2C1253%2C677%2C5181%2C9369%2C820%2C736%2C2040%2C7229%2C859%2C406%2C688%2C1431%2C885%2C2187%2C155%2C4104%2C787%2C3225%2C752%2C2898%2C2035&cl=580336156&seq=1&docid=9snW_ICT-a8&ei=kcNQZbfgEuW7v_IPpKOEgAE&event=streamingstats&plid=AAYJ85wg8vKSOljx&qclc=ChBCbnJKckRwM2VPR3hYNHNpEAE&embargoed=0&cbr=Firefox&cbrver=119.0&c=WEB&cver=2.20231110.00.00&cplayer=UNIPLAYER&cos=X11&cplatform=DESKTOP&vps=0.000:N,0.054:N&cat=streaming&vfs=0.054:247:247::r&view=0.054:1372:772&bwe=0.054:1603505&vis=0.054:0&cmt=0.054:0.000&bh=0.054:0.000

+18
##+js(set-constant, playerResponse.adPlacements, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(set-constant, ytInitialPlayerResponse.adSlots, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(set-constant, ytInitialPlayerResponse.adPlacements, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(set-constant, ytInitialPlayerResponse.playerAds, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(json-prune, auxiliaryUi.messageRenderers.upsellDialogRenderer)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(set-constant, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer, undefined)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(trusted-set-cookie, SOCS, CAISNQgDEitib3FfaWRlbnRpdHlmcm9udGVuZHVpc2VydmVyXzIwMjMwODI5LjA3X3AxGgJlbiADGgYIgJnPpwY, , , reload, 1)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(trusted-replace-fetch-response, /((?:(?:&|%26)id(?:=|%3D)o-A[A-Z]|yt_live_broadcast).*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(trusted-replace-xhr-response, /"adPlacements.*?\"\}\}\}\]\,/, , /player\?key=|watch\?v=|youtubei\/v1\/player/)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
##+js(trusted-replace-fetch-response, /(contextParams":"Q0F[A-Z]U.*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)
www.youtube.com
get
scriptlet
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
https://www.youtube.com/watch?v=9snW_ICT-a8&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

+18
||youtube.com/api/stats/qoe?
--
www.youtube.com
1
post
xhr
https://www.youtube.com/api/stats/qoe?fmt=247&afmt=251&cpn=pOJX0NrdST4-c3ar&el=detailpage&ns=yt&fexp=v1%2C23983296%2C2737%2C18611%2C2602%2C73492%2C54572%2C73455%2C162633%2C381%2C13949%2C53633%2C60173%2C24564%2C17228%2C1867%2C4%2C4%2C6585%2C132%2C540%2C8869%2C1089%2C5877%2C394%2C3200%2C20079%2C109933%2C26306282%2C4054%2C1253%2C677%2C5181%2C9369%2C820%2C736%2C2040%2C7229%2C859%2C406%2C688%2C1431%2C885%2C2187%2C155%2C4104%2C787%2C3225%2C752%2C2898%2C2035&cl=580336156&seq=3&docid=9snW_ICT-a8&ei=fsNQZZjNDtKZv_IP49qRyAM&event=streamingstats&feature=bf_next&plid=AAYJ85r97AmUy0DT&referrer=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOaSkbwzxd-c%26list%3DPLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT%26index%3D7&sdetail=rv%3AOaSkbwzxd-c&sourceid=yw&qclc=ChBwT0pYME5yZFNUNC1jM2FyEAM&embargoed=0&cbr=Firefox&cbrver=119.0&c=WEB&cver=2.20231110.00.00&cplayer=UNIPLAYER&cos=X11&cplatform=DESKTOP&vps=17.519:N&bwm=17.519:2500351:1.741&bwe=17.519:1521484&cmt=17.519:16.889&bh=17.519:38.858&df=17.519:2

+10
||youtube.com/api/stats/qoe?
--
www.youtube.com
1
post
xhr
https://www.youtube.com/api/stats/qoe?fmt=247&afmt=251&cpn=pOJX0NrdST4-c3ar&el=detailpage&ns=yt&fexp=v1%2C23983296%2C2737%2C18611%2C2602%2C73492%2C54572%2C73455%2C162633%2C381%2C13949%2C53633%2C60173%2C24564%2C17228%2C1867%2C4%2C4%2C6585%2C132%2C540%2C8869%2C1089%2C5877%2C394%2C3200%2C20079%2C109933%2C26306282%2C4054%2C1253%2C677%2C5181%2C9369%2C820%2C736%2C2040%2C7229%2C859%2C406%2C688%2C1431%2C885%2C2187%2C155%2C4104%2C787%2C3225%2C752%2C2898%2C2035&cl=580336156&seq=2&docid=9snW_ICT-a8&ei=fsNQZZjNDtKZv_IP49qRyAM&event=streamingstats&feature=bf_next&plid=AAYJ85r97AmUy0DT&referrer=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOaSkbwzxd-c%26list%3DPLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT%26index%3D7&sdetail=rv%3AOaSkbwzxd-c&sourceid=yw&qclc=ChBwT0pYME5yZFNUNC1jM2FyEAI&embargoed=0&cbr=Firefox&cbrver=119.0&c=WEB&cver=2.20231110.00.00&cplayer=UNIPLAYER&cos=X11&cplatform=DESKTOP&afs=0.014:251::i&cmt=0.131:0.000,0.681:0.002,1.471:0.835,10.001:9.375&vps=0.131:B,0.681:PL,10.001:PL&user_intent=0&bh=0.681:5.161,10.001:24.445&bwm=10.001:3857641:3.404&bwe=10.001:1586503&df=10.001:0

+2
noop.txt
<<
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+2
||doubleclick.net^$xhr,redirect-rule=noop.txt
--
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+2
||doubleclick.net^
--
www.youtube.com
3
get
xhr
https://googleads.g.doubleclick.net/pagead/id

+1
||youtube.com/ptracking?
--
www.youtube.com
1
get
xhr
https://www.youtube.com/ptracking?html5=1&video_id=9snW_ICT-a8&cpn=pOJX0NrdST4-c3ar&ei=fsNQZZjNDtKZv_IP49qRyAM&ptk=youtube_single&oid=fh1ZNWCHwCsbQ8p21xoNzg&ptchn=KAlVs6YfbGEQsRSnInBqmw&pltype=content

+0
||youtube.com/api/stats/qoe?
--
www.youtube.com
1
post
xhr
https://www.youtube.com/api/stats/qoe?fmt=247&cpn=pOJX0NrdST4-c3ar&el=detailpage&ns=yt&fexp=v1%2C23983296%2C2737%2C18611%2C2602%2C73492%2C54572%2C73455%2C162633%2C381%2C13949%2C53633%2C60173%2C24564%2C17228%2C1867%2C4%2C4%2C6585%2C132%2C540%2C8869%2C1089%2C5877%2C394%2C3200%2C20079%2C109933%2C26306282%2C4054%2C1253%2C677%2C5181%2C9369%2C820%2C736%2C2040%2C7229%2C859%2C406%2C688%2C1431%2C885%2C2187%2C155%2C4104%2C787%2C3225%2C752%2C2898%2C2035&cl=580336156&seq=1&docid=9snW_ICT-a8&ei=fsNQZZjNDtKZv_IP49qRyAM&event=streamingstats&feature=bf_next&plid=AAYJ85r97AmUy0DT&referrer=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOaSkbwzxd-c%26list%3DPLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT%26index%3D7&sdetail=rv%3AOaSkbwzxd-c&sourceid=yw&qclc=ChBwT0pYME5yZFNUNC1jM2FyEAE&embargoed=0&cbr=Firefox&cbrver=119.0&c=WEB&cver=2.20231110.00.00&cplayer=UNIPLAYER&cos=X11&cplatform=DESKTOP&vps=0.000:N,0.010:N&cat=streaming&vfs=0.010:247:247::r&view=0.010:1273:716&bwe=0.010:1536352&vis=0.010:0&cmt=0.010:0.000&bh=0.010:0.000

+0
||youtube.com/api/stats/qoe?
--
www.youtube.com
1
post
xhr
https://www.youtube.com/api/stats/qoe?fmt=247&afmt=251&cpn=L5qu2fhSZz47rQsv&el=detailpage&ns=yt&fexp=v1%2C23983296%2C2737%2C18611%2C2602%2C73492%2C54572%2C73455%2C162633%2C381%2C13949%2C53633%2C60173%2C24564%2C17228%2C1867%2C4%2C4%2C6585%2C132%2C540%2C8869%2C1089%2C5877%2C394%2C3200%2C20079%2C109933%2C26306282%2C4054%2C1253%2C677%2C5181%2C9369%2C820%2C736%2C2040%2C7229%2C859%2C406%2C688%2C1431%2C885%2C2187%2C155%2C4104%2C787%2C3225%2C752%2C2898%2C2035&cl=580336156&seq=2&docid=OaSkbwzxd-c&ei=fMNQZb76KYnFv_IPvdei4AQ&event=streamingstats&feature=bf_next&plid=AAYJ85rn7uSkvjow&referrer=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLUT0g9jdws8%26list%3DPLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT%26index%3D6&sdetail=rv%3ALUT0g9jdws8&sourceid=yw&qclc=ChBMNXF1MmZoU1p6NDdyUXN2EAI&embargoed=0&cbr=Firefox&cbrver=119.0&c=WEB&cver=2.20231110.00.00&cplayer=UNIPLAYER&cos=X11&cplatform=DESKTOP&afs=0.011:251::i&cmt=0.110:0.000,0.804:0.005,1.752:0.532,2.113:1.275,2.120:0.000,2.274:0.000,2.275:0.000&vps=0.110:B,0.804:PL,2.113:PA,2.120:N,2.274:SU,2.275:SU&user_intent=0.001&bh=0.804:3.666,2.275:0.000&bwm=2.275:1160748:2.360

@MandiYang
Copy link

The 2 filters above didn't work.

@stephenhawk8054
Copy link
Member Author

@MandiYang Can you give exact links where you see the issue?

Also can you test these filters, one-by-one?

www.youtube.com#@#+js()
@@||youtube.com^$1p
@@*$3p,domain=youtube.com
@@||youtube.com^$ghide

It will cause ads but don't mind about that.

@MandiYang
Copy link

MandiYang commented Nov 12, 2023

Testing filters one by one results

  1. www.youtube.com#@#+js()
    Works
  2. @@||youtube.com^$1p
    Doesn't work
  3. @@*$3p,domain=youtube.com
    Doesn't work
  4. @@||youtube.com^$ghide
    Doesn't work

Link to the playlist
https://www.youtube.com/watch?v=_TZ0GWs7wr0&list=PLrdg8M7tEUk5YlPKl04SzqZYdl9locZOT&index=1

@stephenhawk8054
Copy link
Member Author

stephenhawk8054 commented Nov 12, 2023

@MandiYang Ok, remove the above filters, can you test these, one-by-one (keep the previous filter if doesn't work and continue adding the next one)

www.youtube.com#@#+js(trusted-replace-fetch-response, /((?:(?:&|%26)id(?:=|%3D)o-A[A-Z]|yt_live_broadcast).*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)
www.youtube.com#@#+js(trusted-replace-fetch-response, /(contextParams":"Q0F[A-Z]U.*?)"adPlacements.*?"\}\}\}\]\,/, $1, player?key=)
www.youtube.com#@#+js(trusted-replace-xhr-response, /"adPlacements.*?\"\}\}\}\]\,/, , /player\?key=|watch\?v=|youtubei\/v1\/player/)

@Aphoristic
Copy link

Aphoristic commented Jun 23, 2024

uBlock Origin: 1.58.0
Firefox: 127
filterset (summary):
 network: 138059
 cosmetic: 46722
 scriptlet: 19871
 html: 1845
listset (total-discarded, last-updated):
 default:
  user-filters: 0-0, never
  ublock-filters: 38873-114, now
  ublock-badware: 8734-0, now
  ublock-privacy: 929-2, now
  ublock-unbreak: 2416-2, now
  ublock-quick-fixes: 101-2, now
  easylist: 87184-178, now
  easyprivacy: 51095-64, now
  urlhaus-1: 15120-0, now
  plowe-0: 3550-989, now
filterset (user): [empty]
trustedset:
 added: [array of 1 redacted]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 91 ms (selfie)
 maxAssetCacheWait: 34 ms
 cacheBackend: indexedDB
popupPanel:
 blocked: 0
 extended:
  ##+js(set-constant, ytInitialPlayerResponse.playerAds, undefined…
  ##+js(set-constant, ytInitialPlayerResponse.adPlacements, undefi…
  ##+js(set-constant, ytInitialPlayerResponse.adSlots, undefined)
  ##+js(set-constant, playerResponse.adPlacements, undefined)
  ##+js(json-prune-fetch-response, playerAds adPlacements adSlots …
  ##+js(json-prune-fetch-response, reelWatchSequenceResponse.entri…
  ##+js(trusted-replace-node-text, script, (function() {window.ytp…
  ##+js(adjust-setTimeout, [native code], 17000, 0.001)

I have an issue where youtube's home page will load blank, forcing me to refresh and hope that it will load properly (which it does sometimes, can take multiple refreshes). Once the site is loaded properly, it will keep working provided I don't open a different tab. This only happens when this extension is enabled, regardless of if I have youtube whitelisted or not. I have reset to default settings in the extension, disabled firefox's enhanced tracking protection for youtube, cleared cache, all the usual things short of resetting my entire browser. Can someone please help so I don't have to keep disabling the extension entirely? I don't even want to block ads on youtube as I have premium anyways.

@stephenhawk8054
Copy link
Member Author

@Aphoristic Can you go to about:addons page (type in URL bar) and screenshot it here?

@Aphoristic
Copy link

Sure: image

@stephenhawk8054
Copy link
Member Author

@Aphoristic Can you turn off all other extensions, except uBO, restart the browser and test again?

@Aphoristic
Copy link

Alright, same thing happens:
image

@stephenhawk8054
Copy link
Member Author

@Aphoristic What's the white "U" icon besides uBO?

@Aphoristic
Copy link

That is the browser's built in account sync thing to send tabs to mobile or whatever. Icon just grabbed the first letter from an email address.

@stephenhawk8054
Copy link
Member Author

@Aphoristic Can you test in a new Firefox profile with only uBO and its default settings?

@Yuki2718
Copy link
Contributor

@AutistOctavius And you still have the ad-slip and/or freeze issue? The logging itself in an inactive tab is not too strange.

@AutistOctavius
Copy link

@AutistOctavius And you still have the ad-slip and/or freeze issue? The logging itself in an inactive tab is not too strange.

Yes, it freezes at the end of the video, and has an inflated duration.

image

@Yuki2718
Copy link
Contributor

Yes, it freezes at the end of the video, and has an inflated duration.

It'll be almost impossible to remotely investigate, but strange we don't hear from others while you consisntently have the issue. I checked your A/B test flags but couldn't find obviously suspicious.

@AutistOctavius
Copy link

AutistOctavius commented Jun 24, 2024

Yes, it freezes at the end of the video, and has an inflated duration.

It'll be almost impossible to remotely investigate, but strange we don't hear from others while you consisntently have the issue. I checked your A/B test flags but couldn't find obviously suspicious.

videoData of no use?

Are people watching the same videos as I am? Maybe they should try watching the same videos as I am.

EDIT: I'll also add, it's rare. The vast majority of videos don't do this, I have to go looking for videos that do this.

@Yuki2718
Copy link
Contributor

videoDate is to investigate ad-slip. Do you still have?

@EnB-Doctor
Copy link

EnB-Doctor commented Jun 24, 2024

Yes, it freezes at the end of the video, and has an inflated duration.

It'll be almost impossible to remotely investigate, but strange we don't hear from others while you consisntently have the issue. I checked your A/B test flags but couldn't find obviously suspicious.

FWIW, I get the issue as well. I haven't said anything for ~2 weeks because I can bypass the issue with yt-dlp. I just download the videos I want to watch; no delay there. But in a browser? I get errors in the Web Dev Console (same ones as above, where UBO is blocking some connections on the cat video). If I refresh the video enough times (sometimes 2x, sometimes 10x+) it eventually starts buffering. But even if it starts buffering, it will stop somewhere along the playback. It seems random, but the pauses are long enough to be 1-2 minute ad spots, so my guess is some part of the JS is trying to load an ad, and then refusing to continue buffering chunks until the time the ad takes has elapsed. I have no idea how to prove/validate/test this theory. I've assumed I was the only one with this problem for the same reason you do.

uBlock Origin: 1.58.0
Firefox: 115
filterset (summary):
 network: 138133
 cosmetic: 46768
 scriptlet: 19883
 html: 1845
listset (total-discarded, last-updated):
 default:
  user-filters: 29-0, never
  ublock-filters: 38907-114, 42m Δ
  ublock-badware: 8804-0, 42m Δ
  ublock-privacy: 929-5, 42m Δ
  ublock-unbreak: 2416-2, 42m Δ
  ublock-quick-fixes: 101-2, 42m Δ
  easylist: 87180-193, 42m Δ
  easyprivacy: 51096-46, 42m Δ
  urlhaus-1: 15120-0, 21h.39m
  plowe-0: 3552-989, 8d.8h.35m
filterset (user): [array of 29 redacted]
switchRuleset:
 added: [array of 1 redacted]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 199 ms (selfie)
 maxAssetCacheWait: 68 ms
 cacheBackend: indexedDB

Yes, I've tried a completely default browser with no addons at all, and no UBO rules. It still happens. It happens both signed in and signed out. I only have firefox, I will only use firefox. The main thing that tells me this is a JS problem is that yt-dlp can download the videos at full speed without any delay, so the youtube server itself is capable of sending my client the chunks, but the YT player is refusing/unable to get them for some reason.

@stephenhawk8054
Copy link
Member Author

stephenhawk8054 commented Jun 24, 2024

@EnB-Doctor Your issue is not the same as the above. For Firefox buffering issue, please follow this thread: https://bugzilla.mozilla.org/show_bug.cgi?id=1878510#c97 . It's not related to uBO

The issue above is about when the video ends, NOT about buffering while playing videos.

@EnB-Doctor
Copy link

@EnB-Doctor Your issue is not the same as the above. For Firefox buffering issue, please follow this thread: https://bugzilla.mozilla.org/show_bug.cgi?id=1878510#c97 . It's not related to uBO

The issue above is about when the video ends, NOT about buffering.

This is, unfortunately, not true. I have an addon that can force non-use of VP9, and even when I do that, it still buffers. I understand you don't want buffering issues in this thread and I'll respect that, but I'm still sending this reply since I was working on it.

image
I suspect that error in content.js is what is causing the non-buffering problem.

image
I suspect most of these are red herrings

image
I eventually see these, which tells me something is blocking the YT chunks from being loaded, but I have no idea what.

@Aztup
Copy link

Aztup commented Jun 24, 2024

@Yuki2718 Just so you know the way you get flags is a little bit incorrect from what I've gathered it seems that YouTube has special flags only for the watch page for example html5_enable_ssap is in those (if you have SSAP) while it is not in the global flags (while html5_enable_ssap_entity_id is in both). Perhaps you can try taking a look at that?

Do you mind trying to get the flags like this then paste it on a pastebin @AutistOctavius
image

var data = {};
new URLSearchParams(yt.config_.WEB_PLAYER_CONTEXT_CONFIGS.WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH.serializedExperimentFlags).forEach((val, key) => data[key] = val)
console.log(data)

@AutistOctavius
Copy link

videoDate is to investigate ad-slip. Do you still have?

Oh, ad slip? I didn't get ad slip on that video, just the freeze frame. I thought you wanted videoData for videos with freeze frame.

But I can let you know if I get ad slip. I haven't gotten any ad slip recently but I'll try and find some.

@stephenhawk8054
Copy link
Member Author

@EnB-Doctor Please follow the 1st post steps again. You are using other addons and custom filters too, so we can't help further with those.

@Bun01294

This comment was marked as off-topic.

@Bun01294

This comment was marked as off-topic.

@Yuki2718
Copy link
Contributor

@Yuki2718 Just so you know the way you get flags is a little bit incorrect from what I've gathered it seems that YouTube has special flags only for the watch page for example html5_enable_ssap is in those (if you have SSAP) while it is not in the global flags (while html5_enable_ssap_entity_id is in both). Perhaps you can try taking a look at that?

Not sure if those "local" flags are involved in the issue, even if so, we don't know much about them compared to the global flags.

@AutistOctavius
Copy link

Not a huge issue, more of a "You might be interested to know" sort of thing. But I'm noticing at least one SSAP video where seeking doesn't work after the video is over.

I saw a TomSka video on my front page. So I open his channel...

https://www.youtube.com/@TomSka

Click the Videos tab, and watch this.

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

An ad is blocked for a split second at the start, and I watch the video.

image

Video ends mostly normally. Except there's an inflated runtime, and when I try seeking along the track bar, I only get to see the first frame of the video. I've uploaded a video of me trying to seek.

Seeking.Funnybusiness.mp4

And I've got my Troubleshooting stuff.

uBlock Origin: 1.58.0
Chromium: 126
filterset (summary):
 network: 137976
 cosmetic: 46890
 scriptlet: 21316
 html: 0
listset (total-discarded, last-updated):
 default:
  user-filters: 2-0, never
  ublock-filters: 38822-276, 2h.8m Δ
  ublock-badware: 8838-0, 2h.8m Δ
  ublock-privacy: 938-0, 2h.8m Δ
  ublock-unbreak: 2362-0, 2h.8m Δ
  ublock-quick-fixes: 102-0, 2h.8m Δ
  easylist: 87244-567, 2h.8m Δ
  easyprivacy: 51097-23, 2h.8m Δ
  urlhaus-1: 14860-0, 6h.8m
  plowe-0: 3552-615, 9d.7h.42m
filterset (user): [array of 2 redacted]
userSettings:
 userFiltersTrusted: true
hiddenSettings: [none]
supportStats:
 allReadyAfter: 358 ms (selfie)
 maxAssetCacheWait: 126 ms
 cacheBackend: indexedDB

@Yuki2718
Copy link
Contributor

Yuki2718 commented Jun 26, 2024

I've uploaded a video of me trying to seek.

For some reason I can't watch nor download the video. Looks like an ongoing Github glitch some of us are occasionally facing. <= stephenhawk8054 provided the video to me, so you don't have to do anything.

@Aztup
Copy link

Aztup commented Jun 26, 2024

Video ends mostly normally. Except there's an inflated runtime, and when I try seeking along the track bar, I only get to see the first frame of the video. I've uploaded a video of me trying to seek.

I managed to reproduce the inflated duration and she 00:00 seeking with and without uBlockOrigin turned on so it just seems to be a YouTube issue.

@AutistOctavius
Copy link

AutistOctavius commented Jun 27, 2024

I've got ad slip! But it's different than usual.

Saw this video on my front page, so I opened it in a new tab.

image

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

Attachment size limit is 10MB, so bear with me. I've got clips of the funny business I'm looking at. I find that if a video clip on Github isn't working for me, refreshing the page works.

My video starts without an ad. Or if there was an ad, it was blocked quickly. You can't see it because the "Stats for nerds" are in the way, but the title of the video is hovering in the upper right of the video. But what you can probably see? I have no power to seek. Like with "asdfmovie15," I see no thumbnail for where my cursor sits on the bar. But unlike "asdfmovie15," I can't even click to different points in the video. The seeking bar is totally unclickable. And the duration display is way off.

Ad.Slip.pt1.mp4

Pausing and unpausing does nothing to fix this.

Ad.Slip.pt2.mp4

Also, you can see the yellow trackbar that belongs to ads.

Ad.Slip.pt3.mp4

I watch to the end, and I get a freeze frame. So I replay. And what do I get? A Nespresso ad!

Ad.Slip.pt4.mp4

But here's the thing, the ad freezes after 5 seconds. It responds to nothing I do.

Ad.Slip.pt5.mp4
Ad.Slip.pt6.mp4

After a few minutes it unfroze and played for another few seconds, but I wasn't able to get a clip. Here's what my Console looks like, filtered by videoData. You just want me to any one of these 7 entries and save them?

image

EDIT: Remember that entry with the 56 next to it? The count is increasing as we speak. It just hit 100.

image

Here's my Troubleshooting details...

uBlock Origin: 1.58.0
Chromium: 126
filterset (summary):
 network: 137773
 cosmetic: 47023
 scriptlet: 21361
 html: 0
listset (total-discarded, last-updated):
 default:
  user-filters: 2-0, never
  ublock-filters: 38892-279, 2h.10m Δ
  ublock-badware: 8936-0, 2h.10m Δ
  ublock-privacy: 938-3, 2h.10m Δ
  ublock-unbreak: 2364-0, 2h.10m Δ
  ublock-quick-fixes: 110-0, 2h.10m Δ
  easylist: 87387-574, 2h.10m Δ
  easyprivacy: 51101-20, 2h.10m Δ
  urlhaus-1: 14520-0, 21h.27m
  plowe-0: 3552-615, 10d.23h.2m
filterset (user): [array of 2 redacted]
userSettings:
 userFiltersTrusted: true
hiddenSettings: [none]
supportStats:
 allReadyAfter: 236 ms (selfie)
 maxAssetCacheWait: 78 ms
 cacheBackend: indexedDB

@AutistOctavius
Copy link

Followup to my issue above. The video has since gone black. The ad never finished playing, not that I could hear. But I've been letting the tab sit and now the video has gone black. And the videoData has filled up with even newer logs?

image

Trouble stuffing...

uBlock Origin: 1.58.0
Chromium: 126
filterset (summary):
 network: 128456
 cosmetic: 47035
 scriptlet: 21360
 html: 0
listset (total-discarded, last-updated):
 default:
  user-filters: 2-0, never
  ublock-filters: 38889-276, 2h.41m Δ
  ublock-badware: 8956-0, 2h.41m Δ
  ublock-privacy: 938-0, 2h.41m Δ
  ublock-unbreak: 2364-0, 2h.41m Δ
  ublock-quick-fixes: 109-0, 2h.41m Δ
  easylist: 87430-576, 2h.41m Δ
  easyprivacy: 51101-638, 2h.41m Δ
  urlhaus-1: 5155-0, 2h.41m
  plowe-0: 3552-0, 11d.4h.33m
filterset (user): [array of 2 redacted]
userSettings:
 userFiltersTrusted: true
hiddenSettings: [none]
supportStats:
 allReadyAfter: 236 ms (selfie)
 maxAssetCacheWait: 78 ms
 cacheBackend: indexedDB

stephenhawk8054 added a commit that referenced this issue Jun 28, 2024
@Yuki2718
Copy link
Contributor

@AutistOctavius Is that the same if you create a new Firefox profile and install uBO, then login to yt with the same account?

@AutistOctavius
Copy link

AutistOctavius commented Jun 28, 2024

@AutistOctavius Is that the same if you create a new Firefox profile and install uBO, then login to yt with the same account?

I'm using Chrome, is that a problem?

EDIT: Or were you asking me to try this in a new browser, but with uBO on?

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

No branches or pull requests