-
Notifications
You must be signed in to change notification settings - Fork 759
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
Comments
June 2024 - YouTube SSAP ads issue: PLEASE UPDATE QUICK FIX LIST by clicking this linkWhen 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. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Disable everything other than uBlock Origin and see if it does away. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
@FrostedNiips Please follow the instructions in the top post |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@somebody0278 Can you do these steps (follow strictly the step order, don't mix the steps orders, or skip any steps):
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
nothing changes, same behavior |
@MRxShoody Can you install Firefox if not done already, log in to the same account, and see if the original issue of partial-slip happens with default settings? |
Whoops, of course you first have to insatll uBO to Firefox. |
aight, will report back |
@Yuki2718 oh well, it doesn't happen on firefox. time to switch on it i guess @_@ |
Firefox has @MRxShoody Can you reproduce the issue after adding these filters? ||www.youtube.com/playlist?list=$xhr,1p,replace=/"adPlacements.*?([A-Z]"\}|"\}{2\,4})\}\]\,//,badfilter
||www.youtube.com/playlist?list=$xhr,1p,replace=/"adSlots.*?\}\}\]\,"adBreakHeartbeatParams/"adBreakHeartbeatParams/,badfilter
||www.youtube.com/watch?$xhr,1p,replace=/"adPlacements.*?([A-Z]"\}|"\}{2\,4})\}\]\,//,badfilter
||www.youtube.com/watch?$xhr,1p,replace=/"adSlots.*?\}\}\]\,"adBreakHeartbeatParams/"adBreakHeartbeatParams/,badfilter
||www.youtube.com/youtubei/v1/player?$xhr,1p,replace=/"adPlacements.*?([A-Z]"\}|"\}{2\,4})\}\]\,//,badfilter
||www.youtube.com/youtubei/v1/player?$xhr,1p,replace=/"adSlots.*?\}\}\]\,"adBreakHeartbeatParams/"adBreakHeartbeatParams/,badfilter |
yup, after placing these filters i can reproduce the issue, you got it i believe |
@MRxShoody If you sign out in Firefox + using these filters above, does the issue still occur? |
@stephenhawk8054 nope when signed out + these filters, it doesn't occur |
So the problem seems to be that neither |
This comment was marked as outdated.
This comment was marked as outdated.
@MRxShoody @Oqarshi Can you test this filter: www.youtube.com##+js(json-prune-fetch-response, playerAds adPlacements adSlots playerResponse.playerAds playerResponse.adPlacements playerResponse.adSlots [].playerResponse.adPlacements [].playerResponse.playerAds [].playerResponse.adSlots, , propsToMatch, !googlevideo.com) |
triggers youtube anti adblock |
@MRxShoody How about this: www.youtube.com##+js(json-prune-fetch-response, playerAds adPlacements adSlots playerResponse.playerAds playerResponse.adPlacements playerResponse.adSlots [].playerResponse.adPlacements [].playerResponse.playerAds [].playerResponse.adSlots, , propsToMatch, ?) |
doesnt trigger the anti adblock but doesnt work |
@MRxShoody How about this: www.youtube.com##+js(json-prune-fetch-response, playerAds adPlacements adSlots playerResponse.playerAds playerResponse.adPlacements playerResponse.adSlots [].playerResponse.adPlacements [].playerResponse.playerAds [].playerResponse.adSlots, , propsToMatch, /^(?!.*data).*/s) |
nope |
@MRxShoody Can you add these: www.youtube.com#@#+js(trusted-rpnt, script, (function serverContract(), "YOUTUBE_PREMIUM_LOGO"!==ytInitialData?.topbar?.desktopTopbarRenderer?.logo?.topbarLogoRenderer?.iconImage?.iconType&&(location.href.startsWith("https://www.youtube.com/tv#/")||location.href.startsWith("https://www.youtube.com/embed/")||document.addEventListener("DOMContentLoaded"\,(function(){const t=()=>{const t=document.getElementById("movie_player");if(!t)return;if(!t.getStatsForNerds?.()?.debug_info?.startsWith?.("SSAP\, AD"))return;const e=t.getProgressState?.();e&&e.duration>0&&(e.loaded<e.duration||e.duration-e.current>1)&&t.seekTo?.(e.duration)};t()\,new MutationObserver((()=>{t()})).observe(document\,{childList:!0\,subtree:!0})})));(function serverContract(), sedCount, 1)
www.youtube.com##+js(trusted-rpnt, script, (function serverContract(), 'console.log("uBO - Injected");const constructHandler=function(target,thisArg,args){console.log(JSON.stringify(thisArg));return Reflect.construct(target,thisArg,args)};window.Request=new Proxy(window.Request,{construct:constructHandler});(function serverContract()', sedCount, 1) and share the log from the console? |
@MRxShoody Can you check in the |
@MRxShoody Can you do that in chromium? |
you mean chrome ? edge uses chrionium already no ? |
@MRxShoody Yes, I mean Edge |
then all the tests/screens above were on edge |
@MRxShoody Can you remove all custom fitlers and add these: www.youtube.com#@#+js(trusted-rpnt, script, (function serverContract(), "YOUTUBE_PREMIUM_LOGO"!==ytInitialData?.topbar?.desktopTopbarRenderer?.logo?.topbarLogoRenderer?.iconImage?.iconType&&(location.href.startsWith("https://www.youtube.com/tv#/")||location.href.startsWith("https://www.youtube.com/embed/")||document.addEventListener("DOMContentLoaded"\,(function(){const t=()=>{const t=document.getElementById("movie_player");if(!t)return;if(!t.getStatsForNerds?.()?.debug_info?.startsWith?.("SSAP\, AD"))return;const e=t.getProgressState?.();e&&e.duration>0&&(e.loaded<e.duration||e.duration-e.current>1)&&t.seekTo?.(e.duration)};t()\,new MutationObserver((()=>{t()})).observe(document\,{childList:!0\,subtree:!0})})));(function serverContract(), sedCount, 1)
www.youtube.com#@#+js(trusted-replace-fetch-response, /"adPlacements.*?([A-Z]"\}|"\}{2\,4})\}\]\,/, , player?)
www.youtube.com#@#+js(trusted-replace-fetch-response, /"adSlots.*?\}\}\]\,"adBreakHeartbeatParams/, "adBreakHeartbeatParams, player?)
www.youtube.com#@#+js(json-prune-fetch-response, playerAds adPlacements adSlots playerResponse.playerAds playerResponse.adPlacements playerResponse.adSlots, , propsToMatch, /playlist?)
www.youtube.com#@#+js(json-prune-fetch-response, playerAds adPlacements adSlots playerResponse.playerAds playerResponse.adPlacements playerResponse.adSlots [].playerResponse.adPlacements [].playerResponse.playerAds [].playerResponse.adSlots, , propsToMatch, /player?)
www.youtube.com#@#+js(json-prune-fetch-response, reelWatchSequenceResponse.entries.[-].command.reelWatchEndpoint.adClientParams.isAd entries.[-].command.reelWatchEndpoint.adClientParams.isAd, , propsToMatch, url:/reel_watch_sequence?)
www.youtube.com##+js(trusted-rpnt, script, (function serverContract(), 'console.log("uBO - Injected");const applyHandler=function(target,thisArg,args){const fetchPromise=Reflect.apply(target,thisArg,args);return fetchPromise.then((responseBefore=>{const response=responseBefore.clone();const url=response.url;return response.json().then((objBefore=>{console.log(url,JSON.stringify(objBefore));return objBefore})).catch((reason=>responseBefore))})).catch((reason=>fetchPromise))};window.fetch=new Proxy(window.fetch,{apply:applyHandler});(function serverContract()', sedCount, 1) then share the log from the console? |
The log looks strange. @MRxShoody Can you screenshot the whole screen + devtools? |
@MRxShoody Can you replace the last filter with this: www.youtube.com##+js(trusted-rpnt, script, (function serverContract(), 'console.log("uBO - Injected");const applyHandler=function(target,thisArg,args){const fetchPromise=Reflect.apply(target,thisArg,args);return fetchPromise.then((responseBefore=>{const response=responseBefore.clone();const url=response.url;return response.json().then((objBefore=>{if(!url.includes("gstatic.com")){console.log(url,objBefore)}return objBefore})).catch((reason=>responseBefore))})).catch((reason=>fetchPromise))};window.fetch=new Proxy(window.fetch,{apply:applyHandler});(function serverContract()', sedCount, 1) and get all the logs again? |
@MRxShoody Can you remove all other filters and test this: www.youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_bind_fetch, false) |
well done, that's the culprit |
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.1.59.0
+)video tutorial
1-update-uBO.mp4
My filters)
and disabling ALL additional lists you have enabled MANUALLY, including the ones listed by uBO. DO NOT disable DEFAULT filter lists. 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
click this link then load Youtube in a new tab.
Some browsers with built-in blockers
Tracking Prevention
video tutorial
4-disabling-extensions.mp4
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!! 🟥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.
If you suffer slow loading, test
at your own risk.
Old youtube threads
The text was updated successfully, but these errors were encountered: