ParticleCore / Particle

Home of the extension YouTube Plus that allows you to experience more on YouTube
Other
1.06k stars 228 forks source link

[feature] Hide branding watermark option #535

Closed MattSturgeon closed 7 years ago

MattSturgeon commented 7 years ago

Some youtube channels enable a small in-video branding watermark In the bottom right of a video. This can be distracting when watching and adds no unique functionality*

* It behaves exactly the same as the below-video youtuber icon (.yt-user-photo .yt-thumb-square): hover over it and a popup will appear


Thankfully it can easily be hidden using incredibly simple CSS, since it is the only element with the iv-branding class:

.iv-branding {
    display: none!important;
}

Or JavaScript:

document.querySelector('.iv-branding').style.display = 'none';

You could also have css along these lines and toggle a class on document.body or something for enabling/disabling

body.particle--hide-iv-branding .iv-branding {
    display: none!important;
}
document.body.classList.add('particle--hide-iv-branding');
MattSturgeon commented 7 years ago

Closing in favour of ParticleCore/Iridium/issues/74