// @include *://*.youtube.com/*
// ==/UserScript==
(() => {
const ytLoco = () => {
if (new RegExp('^/(c|channel|u|user)\/[^\/]+\/?(featured)?/?$').test(document.location.pathname)) {
window.location.replace("https://www.youtube.com/"; + document.location.pathname.split('/')[1] + "/" + document.location.pathname.split('/')[2] + "/videos")
}
}

window.addEventListener('yt-navigate-finish', ytLoco, true)
ytLoco()
})()

YouTubeで各々のチャンネルに行く時に、ホームから動画タブにリダイレクトしてくれる、
↑このようなスクリプトをどこかで見たか教えてもらったかして非常に重宝していたのですが
最近の仕様変更で、「@チャンネル名」というURLに飛ぶようになって、上記スクリプトが機能しなくなりました。
この新仕様のURLでもリダイレクトできるようにすればどう弄ればいいでしょうか?