Know if a video has subtitles before you click.
< Σχολιασμός για τον κώδικα YouTube Subtitle Preview
Modify left and top css on lines 51/52, and change them to 50%, like this:
new_element.style.left = "50%";
new_element.style.top = "50%";
Then, insert a new line on line 58, and add this:
new_element.style.margin = "-9.5px 0 0 -8px";
After that, it should look like this.
Thank you very much! :)
How to move the subtitle preview label to center middle
What do I have to change in your script in order to move the subtitle preview label from the top left corner to the middle center?