! Title: uBlock filters – Experimental ! Last modified: Fri, 05 Sep 2025 15:11:48 +0000 ! Expires: 1 day ! Description: Experimental filters ! License: https://github.com/uBlockOrigin/uAssets/blob/master/LICENSE ! Homepage: https://github.com/uBlockOrigin/uAssets ! Forums: https://github.com/uBlockOrigin/uAssets/issues ! fake buffering on the initial load ! quick fix www.youtube.com#@#+js(trusted-rpnt, script, (function serverContract(), (()=>{if("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/"))return;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.loaded1)&&t.seekTo?.(e.duration)};t()\,new MutationObserver((()=>{t()})).observe(document\,{childList:!0\,subtree:!0})}));const t={apply:(t\,e\,o)=>{const n=o[0];return"function"==typeof n&&n.toString().includes("onAbnormalityDetected")&&(o[0]=function(){})\,Reflect.apply(t\,e\,o)}};window.Promise.prototype.then=new Proxy(window.Promise.prototype.then\,t);const e=t=>t.includes('"params":"yAEB')?t:t.includes('"params":"')?t.replace('"params":"'\,'"params":"yAEB'):t.replace('"contentCheckOk":false'\,'"contentCheckOk":false\,"params":"yAEB"')\,o={construct:(t\,o\,n)=>{const r=o[0]\,c=o[1]?.body;return r?.includes("youtubei")&&c?.includes('"contentPlaybackContext":{')&&!c?.includes("youtube.com/shorts/")&&(o[1].body=e(c))\,Reflect.construct(t\,o\,n)}};window.Request=new Proxy(window.Request\,o);const n={apply:(t\,o\,n)=>{const r=n[0];return r.includes("youtube.com/watch?")&&r.includes('"contentPlaybackContext":{')&&!location.href.includes("youtube.com/shorts/")&&(n[0]=e(r))\,Reflect.apply(t\,o\,n)}};window.TextEncoder.prototype.encode=new Proxy(window.TextEncoder.prototype.encode\,n)})();(function serverContract(), sedCount, 1) ! www.youtube.com##+js(trusted-rpnt, script, (function serverContract(), `(()=>{if("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/"))return;document.addEventListener("DOMContentLoaded",(function(){const e=()=>{const e=document.getElementById("movie_player");if(!e)return;if(!e.getStatsForNerds?.()?.debug_info?.startsWith?.("SSAP, AD"))return;const t=e.getProgressState?.();t&&t.duration>0&&(t.loaded1)&&e.seekTo?.(t.duration)};e(),new MutationObserver((()=>{e()})).observe(document,{childList:!0,subtree:!0})}));const e={apply:(e,t,o)=>{const n=o[0];return"function"==typeof n&&n.toString().includes("onAbnormalityDetected")&&(o[0]=function(){}),Reflect.apply(e,t,o)}};window.Promise.prototype.then=new Proxy(window.Promise.prototype.then,e);const t=e=>e.includes('"params":"yAEB')?e:e.includes('"params":"')?e.replace('"params":"','"params":"yAEB'):e.includes('"contentCheckOk":false')?e.replace('"contentCheckOk":false','"contentCheckOk":false,"params":"yAEB"'):e.replace('"playbackContext":','"params":"yAEB","playbackContext":'),o={construct:(e,o,n)=>{const r=o[0],c=o[1]?.body;return r?.includes("youtubei")&&c?.includes('"contentPlaybackContext":{')&&!c?.includes("youtube.com/shorts/")&&(o[1].body=t(c)),Reflect.construct(e,o,n)}};window.Request=new Proxy(window.Request,o);const n={apply:(e,o,n)=>{const r=n[0];return r.includes("youtube.com/watch?")&&r.includes('"contentPlaybackContext":{')&&!location.href.includes("youtube.com/shorts/")&&(n[0]=t(r)),Reflect.apply(e,o,n)}};window.TextEncoder.prototype.encode=new Proxy(window.TextEncoder.prototype.encode,n),window.location.href.includes("/watch?")&&window.addEventListener("load",(()=>{const e=async function(e){let t=document.getElementById(e);for(;!t;)console.log(t),t=await new Promise((t=>setTimeout((()=>t(document.getElementById(e))),500)));return t}("movie_player"),t=window.location.search,o=new URLSearchParams(t).get("v"),n=new URLSearchParams(t).get("t")??0;if(!e||!o)return;const r=parseInt(n,10);e.then((function(e){e.loadVideoById(o,r)}))}));const r={apply:(e,o,n)=>{try{let r=n[0];if(!r)return Reflect.apply(e,o,n);const c=Array.isArray(r),a=c?r[0]:r;let s=t(a);c?n[0][0]=s:n[0]=s}catch(e){}return Reflect.apply(e,o,n)}};window.XMLHttpRequest.prototype.send=new Proxy(window.XMLHttpRequest.prototype.send,r)})();(function serverContract()`, sedCount, 1) !#if cap_html_filtering ! www.twitch.tv/esl_dota2 ||ttvnw.net/v1/playlist$xhr,3p,replace=/#EXT-X-DATERANGE:ID="(stitched-ad|maf-ad|source|trigger)"\S+\n|#EXT-X-DATERANGE:ID=\S+?CLASS="twitch-(?:stream-source|trigger|maf-ad)"\S+\n|#EXT-X-DATERANGE:\S+?CLASS="twitch-ad-quartile".+?(?=(#EXT-X-DATERANGE|$))|(\n#EXT-X-DISCONTINUITY\s|#EXT-X-TWITCH-PREFETCH\S+)//gs www.twitch.tv##[data-a-target="video-ad-label"] www.twitch.tv##[data-a-target="video-ad-countdown"] www.twitch.tv##button[aria-label="Leave feedback for this Ad"] www.twitch.tv##:matches-path(/^\/[0-9_a-z]+$/) .video-player__overlay > .follow-panel-overlay.tw-transition[aria-hidden="false"] www.twitch.tv##:matches-path(/^\/[0-9_a-z]+$/) .top-bar--pointer-enabled > div > .tw-media-card-stat www.twitch.tv##:matches-path(/^\/[0-9_a-z]+$/) [data-a-target="video-ref"]:has(.video-player__overlay > .follow-panel-overlay.tw-transition[aria-hidden="false"]) + div[class^="Layout-sc-"][hidden=""]:style(display:block !important;) www.twitch.tv##:matches-path(/^\/[0-9_a-z]+$/) div.video-player__overlay > div[class*="InjectLayout-sc-"] > div.player-overlay-background--darkness-3 !#endif