Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to set "default channel tab" back to the unaltered settings. #1735

Closed
Sverkhchelovek opened this issue Aug 14, 2023 · 2 comments
Closed
Labels
Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) Knowledge Base / Dokumenation for developers We should repurpose this for future reference / Wiki / Education / Introduction up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@Sverkhchelovek
Copy link

Bug Report:

BUG: Altering the "default channel tab" makes it impossible to ever go back to the default unaltered settings.

HOW: Go to Extension Options>Channel and set "Default channel tab" to any of the 3 options presented.

EXPECTED (/preferred) behavior: Ideally, there should be an option to prevent the extension from altering the channel tabs entirely, if the user ever decides to let YT handle it on their own.

The "Home" option just adds /home at the end of the url, which forces YT to refresh the page entirely, rather than loading the contents of the page seamlessly. This makes it hugely annoying to, for example, quickly go down your subscribed feed to check the new videos, as you'll see the screen black out and start loading from scratch every time you click someone's channel.

YT's default behavior is to load https://www.youtube.com/@[username] upon clicking a channel, not https://www.youtube.com/@[username]/home. The only 3 options presented are "Home," "Videos," and "Playlists," which all add /[word] to the end of the url, forcing a reload.

@Sverkhchelovek Sverkhchelovek added Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Aug 14, 2023
@Sverkhchelovek
Copy link
Author

I ended up fixing it myself by exporting my settings, opening in notepad, editing so it says "channel_default_tab":"/" instead of /video, /home, or /playlists, and then importing it. Now the page doesn't forcefully reload when I click channels.

Just leaving this here if anyone else has the same issue, because I don't think this is gonna get added as an option in the UI, despite how simple of a fix it is.

@ImprovedTube ImprovedTube added the Knowledge Base / Dokumenation for developers We should repurpose this for future reference / Wiki / Education / Introduction label Sep 2, 2023
@ImprovedTube
Copy link
Member

ImprovedTube commented Sep 2, 2023

hi there :) @Sverkhchelovek,

Just leaving this here if anyone

so i searched /home in the repo and found luckily it only appeared once, right in our menu-structure files
this gives a clue the fix was only deleting the 4 letters.

channel

And that i could make these additions (see photo)
isnt this extremely motivating?
(mentioned you in the commit-message)

659f662

isn't always this easy, yet predictable when. The feature's code is already there. And i'm now the first user of the /about-option.

  • and at 500 000+ users i feel responsability to make it more likely,
    that you and the people who will care, walk such step too and make an edit,
    so that they may do something much greater and earn this feeling, sometimes with little effort.
    how could we make this more likely?

  • It's great to be like a Waiter in this moment to many users. Maybe unnoticed, yet super efficient. (I have done a lot of such. Yet won't keep up alone & also want to use my brain harder or more creatively / might need balanced activity.)



.. To be complete, finally just walked the step to overwrite the old setting '/home' stored on many computers still, unless they use the button again.
chrome.storage.local.get('channel_default_tab', function (result) {if (result.channel_default_tab === '/home'){ chrome.storage.local.set({channel_default_tab: '/'}); }});

(this is in background.js @ if(installed.reason == 'update'){...)
and the previous time such was done there, was my template, just replacing the name/values

(this can be removed after the next update. Yet can stay extended as computers are fast.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) Knowledge Base / Dokumenation for developers We should repurpose this for future reference / Wiki / Education / Introduction up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

2 participants