X
Tryk her for at gå til webstedets mobilversion.

Supportforum

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

Skrevet

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.
Citér

Yderligere systemdetaljer

Program

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

Yderligere information

Luk
TyDraniu
  • Top 25 Contributor
315 løsninger 1770 svar

Nyttigt svar

Hi f3000,

did you try the ublock origin addon?

Hi f3000, did you try the ublock origin addon?
Fandt du dette nyttigt? 1
Citér
cor-el
  • Top 10 Contributor
  • Moderator
17466 løsninger 157836 svar

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
Fandt du dette nyttigt?
Citér

Spørgsmålsstiller

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.
Fandt du dette nyttigt?
Citér

Spørgsmålsstiller

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.

Ændret af f3000 den

Fandt du dette nyttigt?
Citér
McCoy
  • Top 10 Contributor
532 løsninger 5034 svar

Nyttigt svar

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 .....
Fandt du dette nyttigt? 1
Citér

Spørgsmålsstiller

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.

Ændret af f3000 den

Fandt du dette nyttigt?
Citér
McCoy
  • Top 10 Contributor
532 løsninger 5034 svar

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.
Fandt du dette nyttigt?
Citér
McCoy
  • Top 10 Contributor
532 løsninger 5034 svar

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
Fandt du dette nyttigt?
Citér
cor-el
  • Top 10 Contributor
  • Moderator
17466 løsninger 157836 svar

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
Fandt du dette nyttigt?
Citér
Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.