16

How can I hide the WHO covid-19 banner on YouTube?

enter image description here

Video: https://youtu.be/gAk7aX5hksU


Brief description of my search/research efforts: searched on Google, found nothing.

  • 2
    Please add a brief description of your search/research efforts as is suggested in How to Ask. – Rubén Mar 30 at 14:13
  • 3
    Close voter: what is unclear? – Franck Dernoncourt Mar 30 at 14:15
  • 3
    Searched what on Google? – TRiG Mar 30 at 22:11
  • 3
    @TRiG "hide the WHO covid-19 banner on YouTube" – Franck Dernoncourt Mar 30 at 22:19
  • 9
    @Harper-ReinstateMonica sorry you're right, Google would never tell me how to change YouTube's default settings. – Franck Dernoncourt Mar 31 at 6:56
22

On desktop browsers one way to block this is using the uBlock origin extension. Right click after installing it, and select "block element". The element you want to block is:

###clarify-box > .ytd-watch-flexy.style-scope

From your screenshot, it seems you are browsing youtube using the chrome web-browser, but with "Desktop site" enabled, is that right? If you turn that off it should not be displayed

| improve this answer | |
  • 3
    It works in my Android Firefox in the very same way. – Vladimir F Mar 30 at 21:11
  • 1
    I love you. I had trouble blocking clarify-box by id in tampermonkey. This just works, and I'll use it to save time blocking annoying stuff again and again in the future. – Tom Mercer May 8 at 21:50
9

On Firefox on Windows 10, you can do this without installing any plugins. In this folder,

C:\Users\<your Windows login username>\AppData\Roaming\Mozilla\Firefox\Profiles\chrome\

create a folder named "chrome". Inside this folder, create a file with the name userChrome.css. Add this to it:

#clarify-box > .ytd-watch-flexy.style-scope {
    display: none;
}

This technique allows you to modify the css of any part of any site, not just YouTube.

| improve this answer | |
  • Nice trick, thanks! – Franck Dernoncourt Mar 30 at 20:15
  • Do chrome/userChrome.css and chrome/userContent.css really work from the Profiles directory? I always put them into <profile>/chrome/ – cg909 Mar 31 at 22:56
  • Oh you're right. Sorry, forgot that bit. Edited. – kloddant Mar 31 at 23:23
4

As a complement to oaeide's answer, one can use oaeide's code with Adblock Plus Chrome extension:

enter image description here

enter image description here

| improve this answer | |
  • 9
    Just for the record: AdBlock Plus is significantly worse than uBlock Origin at blocking ads, and its rule system is much less capable. Plus, it runs the Acceptable Ads initiative (which has been termed “an extortion racket”) and hence will whitelist ads from companies that have paid for the privilege. And it's slower… – wizzwizz4 Mar 30 at 19:49
  • 1
    @wizzwizz4 thanks, good to know! – Franck Dernoncourt Mar 30 at 20:00
  • 1
    @wizzwizz4 You can turn off "Acceptable Ads" in the addon settings, you know. – mbomb007 Mar 31 at 21:18
  • 2
    @mbomb007 I didn't, thanks; but that's not the point. The point is that I didn't know it could be disabled, and most people won't even know that they should disable it – the name is sufficiently misleading that even people like me, who go into the settings of the software they use, might leave it on. And ABP's capabilities are still limited enough that Google – an advertising firm – is happy to make its system the only possible ad-blocking mechanism in Chrome. – wizzwizz4 Mar 31 at 21:26
  • @wizzwizz4 Anyone who has ever used ABP and opened the settings once could see it can be disabled. It's a checkbox on the main settings page. Anyways, if you care about privacy and ad blocking, use Brave instead of Chrome, because Chrome sends your data to Google anyway. – mbomb007 Mar 31 at 21:29
1

Very easy way. I did it on Firefox and Brave. The banner has several parts. For Brave: Right click on Covid 19 banner. On pop-up point to Brave (or your adblocker installed) - Block element via selector - on new pop-up click OK. Repeat it for each part. For Firefox you need uBlock Origin installed. Right click on Covid 19 banner. On pop-up point to uBlock Origin icon. On next pop-up click Create. Repeat it for each part.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.