Greasy Fork is available in English.

Youtube - Search While Watching Video

Search YouTube without interrupting the video, by loading the search results in the related video bar

< Părere la script-ul Youtube - Search While Watching Video

Recenzie: Bun, script-ul merge

§
Postat în: 10-10-2020

Can you add something which signal visually, that the search bar is controlled by your script?
And maybe a function to clear the search input ?
I know, it's not vital, but...
;-)

CptmathixAutor
§
Postat în: 12-10-2020

Hey decembre,

Can you add something which signal visually, that the search bar is controlled by your script?

I don't think I will do that, when someone installs my script they know that already.

And maybe a function to clear the search input ?

This is already available, just clear your input field (or use the cross in Chrome). That's the reason why when you focus the input field everything is already selected for easy deletion.

§
Postat în: 12-10-2020

- I don't think I will do that, when someone installs my script they know that already.:
Yes, but when i test many of youtube tweak it should be useful for me
;-)
Maybe add just a class to the search field (like that i can use CSS on it...

- That's the reason why when you focus the input field everything is already selected for easy deletion.:
OK, that's fine and simple.

CptmathixAutor
§
Postat în: 12-10-2020

> Maybe add just a class to the search field (like that i can use CSS on it...

I already did:

#suggestions-search {
your: css;
}

§
Postat în: 12-10-2020

When i search:
#suggestions-search
with your script disable , it match the same search field than when your script enable...

No difference.

CptmathixAutor
§
Postat în: 26-10-2020

Hey decembre,

My script creates the #suggestions-search element. What you are telling me is impossible since my script wouldn't even work if another item had the same id.
Please check again (also make sure that you don't use both Youtube Play Next Queue and Youtube Search While Watching Video, they both use the same code)

§
Postat în: 26-10-2020

Ha... yes i use too "YouTube Play Next Queue".
Maybe add a specific class for one?

CptmathixAutor
§
Postat în: 26-10-2020

Why should I, do you need it for something? Youtube Play Next Queue literally contains Search While Watching Video. You don't need to run both.
If I change the search script, I copy paste it inside the queue script.

§
Postat în: 26-10-2020

Ha interesting info:
both very useful!
You should notice that in "Youtube - Search While Watching Video"...

As i said that' just to make a CSS tweak to add somethink which remind to me this possibility to search.
I test many Userscripts...
But if that's the same CSS selector for the same function, that's perfect for me!
Thanks a lot...

CptmathixAutor
§
Postat în: 26-10-2020

Yes it is the exact same code. If you ever need a separate css class or id for any reason, let me know.

Postează un raspuns

Autentifică-te pentru a posta un răspuns.