您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds keyboard shortcuts [ and ] for liking and disliking videos, B and R to Back up and Restore position, H to use picture-in-picture, { and } to change playback speed.
当前为
This script adds keyboard shortcuts to perform common actions on YouTube without clicking or exiting a full-screen video.
[
to like a video]
to dislike a videob
to save the current playback time, meaning the script will remember your current position in the videor
to restore the saved playback time, jumping back to the moment when you pressed b
h
to enable or disable Picture-in-picture mode, creating a floating video that keeps playing even if you switch to another application}
(Same as Shift + ]
) to increase playback speed by 5% (so going from 1x to 1.05x to 1.1x… etc. as you press multiple times){
(Same as Shift + [
) to decrease playback speed by 5%x
to go forward by 5 secondsz
to go back by 5 secondsshift
+ x
to go forward by 1 secondshift
+ z
to go back by 1 secondk
to switch between playing and pausedl
to go forward by 10 secondsj
to go back by 10 seconds,
(comma) to go back by one frame.
(dot/period) to go forward by one frame0
, 1
… 9
to go to 0%, 10% … 90% of the videox
to go forward by 5 secondsz
to go back by 5 secondsshift
+ x
to go forward by 1 secondshift
+ z
to go back by 1 second[
to like a video]
to dislike a videob
to save the current playback timer
to restore the saved playback timeh
to enable or disable Picture-in-picture modef
for fullscreen (this has limited utility since the top and bottom of the video will likely be cut off)w
to switch to the "classic" YouTube player for this video, instead of staying on the "Shorts" player with a feed (w
as in using the "wide" player)shift
+ W
to switch to the "classic" video player, but open it in a new tab to avoid losing the current "Shorts" feedThe first six of these are already built into the regular YouTube player, but did not work on the Shorts player; this script re-adds these shortcuts.
NOTIFICATION_DURATION_MILLIS
).REMOVE_FEEDBACK_SHARED_WITH_CREATOR
).{
and }
can be configured in the code as well; it's 5% by default but the constant can be updated in a single place (search for PLAYBACK_RATE_STEP
).