YouTube - whitelist channels in uBlock Origin

To whitelist YouTube channels in uBlock Origin

< YouTube - whitelist channels in uBlock Origin 피드백으로 돌아가기

질문/댓글

§
게시: 2018-07-03
수정: 2018-07-03

Can only whitelist with url strings

I can't seem to be able to whitelist channels with channel names, I seem to only be able to do it with channel url strings. eg. this works for me: youtube.com/*user=UCAxBpbVbSXT2wsCwZfrIIVg But this doesn't: youtube.com/*user=SecretAgentBob

In other words /channel/UCAxBpbVbSXT2wsCwZfrIIVg works, but user/SecretAgentBob doesn't work for me.

I've only modified lines 28 and 30 by replacing the id: var link = document.querySelector('[id="owner-name"] a[href^="/user/"]'); if ( link === null ) { link = document.querySelector('[id="owner-name"] a[href^="/channel/"]');

I'm not familiar with scripting, is there anything else I need to change?

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。