X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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.
Quote

Additional System Details

Application

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

More Information

TyDraniu
  • Top 25 Contributor
319 solutions 1831 answers

Helpful Reply

Hi f3000,

did you try the ublock origin addon?

Hi f3000, did you try the ublock origin addon?
Was this helpful to you? 1
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17519 solutions 158412 answers

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
Was this helpful to you?
Quote

Question owner

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.
Was this helpful to you?
Quote

Question owner

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.

Modified by f3000

Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
545 solutions 5139 answers

Helpful Reply

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 .....
Was this helpful to you? 1
Quote

Question owner

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.

Modified by f3000

Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
545 solutions 5139 answers

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.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
545 solutions 5139 answers

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
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17519 solutions 158412 answers

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
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.