Earlier quoted context omitted.
I recently started increasing playback speed on many videos I watch. It's really hard at first, but I quickly got used to it, to the point where I now use an addon to increase playback speed to 3-6x where appropriate. When there's something complicated, or something I want to enjoy and savior, I jump back and slow down. This is an incredible time saver. I got inspired to do this by observing a blind programmer use a…
which addon are you using for speedup?
// ==UserScript==
// @name Mediabord
// @version 01.1
// @description tryd to take over the world!
// @author j
// @match *://*/*
// @grant metadata
// ==/UserScript==
document.addEventListener('keydown', function(event) {
var vidz = document.querySelectorAll('video');
function is_text_box(element){
var tagName = element.tagName.toLowerCase();
return tagName === "textarea" || tagName === "input";}
if(is_text_box(event.target))
return false;
vidz.forEach(vidz => {
switch (event.keyCode) {
case 221: // (])
vidz.playbackRate+=0.25;
break;
case 219: // ([)
vidz.playbackRate-=0.25;
break;
case 220: // (\)
vidz.playbackRate = 1;
break;
case 83:
vidz.currentTime+=3;
break;
case 65:
vidz.currentTime-= 3;
break;
}
});
});