Enables keyboard shortcuts to like/dislike a video on YouTube.
To są wszystkie wersje tego skryptu. Pokaż tylko te wersje, gdzie kod został zmieniony.
Replaced bar with description because it works more consistently.
Made it scroll to the bottom of the description to make the page load the comment box in videos if it hasn't been loaded yet when using the write shortcut.
Made it work with ads on shorts, which I wasn't aware that it didn't until now. Other minor adjustments to the code.
YouTube changed Shorts again and it broke the Shorts functionality, so I had to fix it.
Added separate volume control.
Added the comment writing functionality to regular videos.
Fixed the behavior of it only playing the dislike sound on shorts.
Added a dislike sound alert.
Added the remove shortcut.
Fixed the functionality on Shorts, which had been broken for the past couple of days, and in the process made it work without needing to refresh the page.
Added the option for combinations with ctrl, alt, and shift, along with some minor changes.
Added the option to choose if the sound plays on shorts as well.
Added the sound alert and did some minor code improvements.
Added a dedicated shortcut for writing comments on Shorts.
Added initial refresh on shorts to ensure the script finds the buttons when going from a video to a short.
Added comment shortcut for Shorts.
Added the option to turn off short refreshing and changed how it works.
I finally figured out how to make it work on each individual short by noticing that the URL changes with the short even though the webpage stays the same, so now it checks for that change and refreshes the page. As a side effect scrolling down shorts is now like opening a new video altogether, so if you don't want that, stay on v1.8 before I release v2.0 in which I plan to add an option to turn this off without needing to change the code yourself.
YouTube changed the structure again, so the script now needs to go one child further to access the target button.