YT時間軸書籤bookmarks

youtube timeline for Automatic memory [temporary timestamp] + custom 3 bookmarks

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Leadra
Daily installs
0
Total installs
13
Ratings
0 0 0
Version
1.1.2
Created
2024-06-13
Updated
2024-10-13
Size
13.4 KB
License
MIT
Applies to

自己備份用,無維護能力

@puzzle
作者已經刪除腳本
https://greasyfork.org/zh-TW/scripts/493577-youtube-com-bookmarks-recent-positions-tracker
Bookmarks + keeps track of the 2 most recent playback timestamps and allows you to switch between them using a hot key
最初名稱youtube.com - timeline jumper
最新名稱youtube.com - bookmarks / recent positions tracker
PS.歷史前面三個是原作者版本

自用修改版>>>
功能說明:
1.自動記憶[臨時時間戳],會有白線條顯示(瀏覽器關閉消失)
(快速鍵前進倒退、滑鼠點時間軸皆可,時間差必須大於20秒,才會記憶[臨時時間戳])
if (Math.abs(video.ytCurrentTime - positions.state.current) > 20) {
2.可建立3個書籤,瀏覽器關閉消失(1.1.1版儲存在本地瀏覽器localStorage)
(書籤重複建立會直接覆蓋舊的)

快速鍵:
來回跳到[臨時時間戳]:[F1]
建立書籤:[1],[2],[3]
跳至書籤:ctrl+[1],[2],[3],[click]
刪除書籤:shift+[1],[2],[3],[click]
刪除所有書籤:[0],[4]

(備註書籤:alt+[1],[2],[3],[click](code註釋掉了))


自行在代碼內修改快速鍵:(ctrl,alt,shift)
switchRecentPositions: 'F1',
bookmark1: 'Digit1',
bookmark2: 'Digit2',
bookmark3: 'Digit3',
resetBookmarks: 'Digit0',
modifierCall: 'ctrlKey',
modifierDelete: 'shiftKey',
modifierDescription: 'altKey',


原腳本說明----------------------------
為了保存它們,最近的時間戳記之間的差異必須超過 20 秒。
這允許您在跳轉後使用箭頭鍵(預設為 5 秒)倒帶,同時保持第一個時間戳完整。
當您經常觀看教學時,這會很有幫助 - 當您需要刷新記憶時跳回,然後返回原來的位置,而不必記住時間。

一些範例:
假設您在 25:30 暫停並跳到 10:00 => 兩個時間戳都會被儲存
25:30 ↷ 10:00 ↷ 10:15 => 25:30 和10:15 將被儲存
25:30 ↷ 10:00 ↷ 10:25 => 10:00 和 10:25 將會被儲存

在最近時間戳之間跳轉[F1]
設定書籤(書籤數量限制為 3)[1,2,3]
呼叫書籤shift alt + [1,2,3]
刪除書籤ctrl+ [1,2,3] | ctrl + click
新增描述alt + [1,2,3] |click
刪除所有書籤[0]