By default, clicking on a channel while browsing Youtube loads the "Home" tab. This loads the "Videos" tab instead.
< 脚本 Youtube channels open to "Videos" tab 的反馈
i have similar problem with mouse right click, i cannot choose "open link in a new tab" or "open link in a new window", the browser instantly reload webpage redirecting it in the channel link address when i click the right button
Hi,
Same issues here.
Example: while watching a video attempting to middle-click on the channel link, results both new tab and existing to refresh and go-to channel link
Yeah, sorry for all of this. I introduced a lot of issues with this update. Unfortunately, I haven't figured out how to actually get the desired behavior to work (the only reason I made a change is because the extension broke; YouTube must've changed something on their site).
Therefore, I'm in a lose-lose situation. Whether I go back to the way things were or leave things the way they are, things will be broken either way.
I'd love help if anyone can figure out how to get the desired behavior to work with the current YouTube: You click on a channel name, and it takes you to the /videos tab.
My question is if it's possible to leave untouched the functions of all other buttons of the mouse except the left click that is needed to activate the new behaviour of the version 0.7 of the script. if that can be done, in my opinion all the bugs are resolved
@Bawdy Ink Slinger
You may want to look at the code of this script:
https://greasyfork.org/en/scripts/36400-change-youtube-leftbar-subscription-links-to-channel-user-video-page
It manages to hijack left-hand (side menu) navigation channel links so that they redirect to video pages. Perhaps the applicable code can be harvested for your own script.
Took me a while to figure out the right-clicking actually left-clicking was from this script, but I also have the same issue.
Also, holding the right-click seems to left-click infinitely.
GaabluhnMowd: Thank you for that suggestion. I was wondering if you use this userscript, because when I installed it, its "redirect to video pages" feature wasn't working for me either. I disabled all other extensions, so it's not due to a conflict with mine.
I do use the script and it works well for me, but it's only for the left hand (side) channel subscription menu, it doesn't redirect any other types of links.
Hm, thanks for the info. Maybe my ad blocker or some other extension is interfering with it somehow--I made a typo earlier when I said "I disabled all other extensions", I meant, "I disabled all other userscripts". I'll look into it. Thanks again!
Are you using the latest version of the userscript (1.5.39)? From what I can see in the source code, it has a critical bug that explains why it doesn't work for me. To be specific, the script depends on a youtube variable named ytInitialGuideData that YouTube no longer uses (at least on the pages I load).
Sorry, haven't had a chance to reply as I've been trying to deal with the new player UI interfering with other scripts.
Yes, I use the 1.5.39, not sure why it doesn't work for you - did you edit the values in it? I have it set as follows:
var changeLinksURL = true; //Change links' URLs from the Home tab, to the Videos tab.
var moveUpdatedLinksToTop = true; //Move updated links to top of list without uncollapsing them.
var UncollapseUpdatedLinks = true; //Uncollapse updated links. This may extend the length of uncollapsed links.
//If enabled, it will implicitly enable moveUpdatedLinksToTop.
var showLinksCount = true; //Display number of updated links and total links following the "SUBSCRIPTION" section label.
var autoExpandCollapsed = false; //Auto expand collapsed links.
And it works consistently for me on the channel menu list.
I've actually found some other code that does redirect all links to videos tab, but it causes the header image on channels to glitch, and it is also VERY tightly integrated into its own larger script framework, but if you want to investigate and look at the specific code for redirection (it's beyond my understanding):
https://openuserjs.org/scripts/raingart/Nova_YouTube
https://github.com/raingart/Nova-YouTube-extension
The "click method" seems to work 100% from my testing.
PS: I think ytInitialGuideData is still used, at least on my accounts.
v0.7 breaks middle mouse click opening to new tab - both new tab and original tab open to page. Previous version left originating page alone as is intended.