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

Search bar not focused - Youtube Homepage set as Search #1858

Closed
ShalokShalom opened this issue Nov 30, 2023 · 8 comments
Closed

Search bar not focused - Youtube Homepage set as Search #1858

ShalokShalom opened this issue Nov 30, 2023 · 8 comments
Labels
Bug Bug or required update after YouTube changes Completion to revise (rethink, improve, tweak) (this feature or structure) 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! ♥

Comments

@ShalokShalom
Copy link

ShalokShalom commented Nov 30, 2023

If you set the Youtube Homepage (thanks for that feature!) to "Search" you wont get the cursor focused on the search bar, once you open the page.

So the user can not just type away, they have to manually move the mouse cursor to the search bar, click, and can only then type.

1.) Set Search as Youtube Home
2.) Open Youtube

CURRENT:

3.) Type and find no text appearing

EXPECTED:

3.) Type and find text to appear.

Screenshot_20231130_113014

@ShalokShalom ShalokShalom 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 Nov 30, 2023
@ImprovedTube ImprovedTube added the Completion to revise (rethink, improve, tweak) (this feature or structure) label Dec 1, 2023
@ImprovedTube
Copy link
Member

good point! this is simply easy focus(). will leave it to somebody else for today.

@ShalokShalom
Copy link
Author

Can you show me, where in the source is this to add?

ImprovedTube added a commit that referenced this issue Dec 9, 2023
@ImprovedTube
Copy link
Member

done. you can test it. the feature still loads the home page invisible. alternatively one could just recreated a search form (with or without suggestions) you might like better to check "2." here? : #1565

@ShalokShalom
Copy link
Author

Thanks a lot dear

How can I test this?

@ImprovedTube
Copy link
Member

download the repo master.zip
also linked in the top right of the readme. will publish soon too.
#1881

@ShalokShalom
Copy link
Author

It works!

@ShalokShalom
Copy link
Author

OK, it does not work when I open a new tab, that loads it as its default page.

Example:
I open youtube.com
It works

Example 2, failing:
I configure my browser to open youtube.com, when I open a new tab.
It seems the extension does not interact at this point yet, so the behavior is not changed

This results in a non-focus into the search bar from Youtube. The focus is elsewhere

@ShalokShalom ShalokShalom reopened this Dec 11, 2023
@ShalokShalom
Copy link
Author

Forget it. Its probably out of reach, and more an issue of my browser.
Thanks

ImprovedTube added a commit that referenced this issue Jan 12, 2024
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 Completion to revise (rethink, improve, tweak) (this feature or structure) 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! ♥
Projects
None yet
Development

No branches or pull requests

2 participants