Wasn't working but simple fix

About: YouTube - whitelist channels in uBlock Origin

Just replaced the query selector with:

var link = document.querySelector('[id="owner-name"] a[href^="/user/"]');
if ( link === null ) {
    link = document.querySelector('[id="owner-name"] a[href^="/channel/"]');
    if ( link === null)
        return;
}
Kirjaudu sisään tai Rekisteröidy kommentoidaksesi.