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?
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?