Youtube chapter panel on top of video

moves the chapter panel (invisible) on top of the video (designed for theater mode). Shows up when hovering over it.

当前为 2021-02-19 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           Youtube chapter panel on top of video
@version        1.0.6
@description    moves the chapter panel (invisible) on top of the video (designed for theater mode). Shows up when hovering over it.
@author         toppits
@license        idc

@advanced dropdown toggle_left "Toggle Panel to the left?" {
	0 "No" <<<EOT
	#panels.ytd-watch-flexy ytd-engagement-panel-section-list-renderer.ytd-watch-flexy {
    left: inherit !important;
} EOT;

	1 "Yes" <<<EOT
	#panels.ytd-watch-flexy ytd-engagement-panel-section-list-renderer.ytd-watch-flexy {
    left: 0 !important;	
	max-width: 450px !important;
  } EOT;
}
@namespace almaceleste
==/UserStyle== */
 
@-moz-document url-prefix("https://www.youtube.com/watch") {
#panels.ytd-watch-flexy ytd-engagement-panel-section-list-renderer.ytd-watch-flexy {
	position: absolute;
	opacity: 0 !important;
	top: 0 !important;
	z-index: 9999999 !important;
	max-height: calc(var(--ytd-watch-flexy-max-player-height) - 150px) !important;
	margin-bottom: 0 !important;
}
	/*[[toggle_left]]*/

#panels.ytd-watch-flexy ytd-engagement-panel-section-list-renderer.ytd-watch-flexy:hover {
	opacity: 1 !important;
}

/*current chapter*/
#sync-button.ytd-macro-markers-list-renderer {
	border-radius: 4px !important;
}
}