|
|
|
|
|
by madacol
797 days ago
|
|
Vastly simplified userscript to only show transcript when pressing Ctrl+f https://github.com/madacol/web-automation/blob/master/usersc... // ==UserScript==
// @name Show transcript on Ctrl+f
// @match https://www.youtube.com/watch*
// @grant none
// @version 1.0
// @author madacol
// ==/UserScript==
document.addEventListener('keydown', event => {
if (event.ctrlKey && event.key === 'f')
document.querySelector('button[aria-label="Show transcript"]').click()
})
|
|