Skip to content

New ideas for youtube #2999

Closed Answered by Yuki2718
RickzDO asked this question in Ideas
Dec 3, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Do you understand why you don't see ads when refreshed? This is all thanks to these rules:

youtube.com,youtubekids.com,youtube-nocookie.com##+js(set, ytInitialPlayerResponse.playerAds, undefined)
youtube.com,youtubekids.com,youtube-nocookie.com##+js(set, ytInitialPlayerResponse.adPlacements, undefined)
youtube.com,youtubekids.com,youtube-nocookie.com##+js(set, ytInitialPlayerResponse.adSlots, undefined)

At the initial load after refreshing there's no playerResponse from fetch request so ytInitialPlayerResponse is used instead, and ads from them are addressed by the above rules while ads from playerResponse are currently taken care of by trusted-replace-fetch-response and trusted-replace-…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RickzDO
Comment options

@krystian3w
Comment options

Answer selected by u-RraaLL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants