X
點擊此處開啟此網站的行動版。

技術支援討論區

Are thre way to block YouTube advertisement on the top of the page?

已張貼

I wanna block an ads only on the page itself, I noticed that it is on the top of the page.

I wanna block an ads only on the page itself, I noticed that it is on the top of the page.
引用

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

更多資訊

TyDraniu
  • Top 25 Contributor
319 個解決方法 1840 個答案

有幫助的回覆

Hi f3000,

did you try the ublock origin addon?

Hi f3000, did you try the ublock origin addon?
這篇文章有幫助嗎? 1
引用
cor-el
  • Top 10 Contributor
  • Moderator
17530 個解決方法 158495 個答案

Can you attach a screenshot?

Can you attach a screenshot? *https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem *use a compressed image type like PNG or JPG to save the screenshot
這篇文章有幫助嗎?
引用

提出問題者

Thanks, TyDraniu I'll try it. cor-el, that's not necessary at all - it's clear without a screenshot, just go to YouTube and you'll see what I'm talking about - an ad in the top of the site right above videos.

Thanks, TyDraniu I'll try it. cor-el, that's not necessary at all - it's clear without a screenshot, just go to YouTube and you'll see what I'm talking about - an ad in the top of the site right above videos.
這篇文章有幫助嗎?
引用

提出問題者

I installed uBlock Origin, didn't change any settings, it's marked as enabled, but ad on YouTube is still there.

I installed uBlock Origin, didn't change any settings, it's marked as enabled, but ad on YouTube is still there.

由 f3000 於 修改

這篇文章有幫助嗎?
引用
McCoy
  • Top 10 Contributor
545 個解決方法 5139 個答案

有幫助的回覆

Hello f3000,

If what you're seeing looks anything like this (see screenshots), then adblockers won't block them I'm afraid. It's YouTube trying to get you to subscribe to YouTube Premium. You can just click on the closing X in the upper right corner. Maybe contact YouTube Help about removing that "nag", but I don't think that will do you any good though .....

Hello f3000, If what you're seeing looks anything like this (see screenshots), then adblockers won't block them I'm afraid. It's YouTube trying to get you to subscribe to YouTube Premium. You can just click on the closing X in the upper right corner. Maybe contact YouTube Help about removing that "nag", but I don't think that will do you any good though .....
這篇文章有幫助嗎? 1
引用

提出問題者

Thanks, McCoy, that's exactly what I'm talking about, but there's not only YouTube Premium being showed, just any ad can be there. I can close it indeed.

Thanks, McCoy, that's exactly what I'm talking about, but there's not only YouTube Premium being showed, just any ad can be there. I can close it indeed.

由 f3000 於 修改

這篇文章有幫助嗎?
引用
McCoy
  • Top 10 Contributor
545 個解決方法 5139 個答案

f3000 said

Thanks, McCoy, that's exactly what I'm talking about, but there's not only YouTube Premium being showed, just any ad can be there. I can close it indeed.

It's not just these kind of YouTube "nags" that you're seeing ?

Any other kind of ads should be blocked by your adblocker .....

Like I mentioned before : I don't think that these YouTube ads (if you can even call them "ads") will be blocked by adblockers.

''f3000 [[#answer-1258389|said]]'' <blockquote> Thanks, McCoy, that's exactly what I'm talking about, but there's not only YouTube Premium being showed, just any ad can be there. I can close it indeed. </blockquote> It's not just these kind of YouTube "nags" that you're seeing ? Any other kind of ads should be blocked by your adblocker ..... Like I mentioned before : I don't think that these YouTube ads (if you can even call them "ads") will be blocked by adblockers.
這篇文章有幫助嗎?
引用
McCoy
  • Top 10 Contributor
545 個解決方法 5139 個答案

Hello again f3000,

I just found this :

https://support.google.com/youtube/thread/5328727?hl=en

Hello again f3000, I just found this : https://support.google.com/youtube/thread/5328727?hl=en
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17530 個解決方法 158495 個答案

If I'm logged in then I don't see those ads.

Anyway, that container has this selector: #masthead-ad

userContent.css :

@-moz-document domain(youtube.com) {
  #masthead-ad { display:none!important; }
}

If I'm logged in then I don't see those ads. Anyway, that container has this selector: #masthead-ad userContent.css : <pre><nowiki>@-moz-document domain(youtube.com) { #masthead-ad { display:none!important; } }</nowiki></pre> ---- *https://www.userchrome.org/what-is-userchrome-css.html *https://www.userchrome.org/how-create-userchrome-css.html
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題