Speed up video

Speed up video youtube, facebook

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Speed up video
// @namespace   Phạm Doãn Hiếu ||| FB: https://www.facebook.com/100010921898385 || [email protected]
// @author      DHieu
// @copyright   DHieu
// @homepage    https://htstar.online
// @supportURL  
// @icon        https://i.imgur.com/6SaS8VR.png
// @description Speed up video youtube, facebook
// @contributionURL 
// @grant       GM_getValue
// @grant       GM_setValue
// @grant       GM_openInTab
// @grant       GM_registerMenuCommand
// @include     http://*
// @include     https://*
// @version     1.0.1
// @change-log  Update fb single video
// @run-at      document-end
// ==/UserScript==

function speed_up(){	
  let videoArr = document.querySelectorAll('video');
  for(let i=0; i<videoArr.length; i++)
    {
	videoArr[i].playbackRate=3;
    }

}

var i = 1;
run();
function run () {
speed_up();
    setTimeout(function () {
      speed_up();
      console.log("chay speed up lan" +i)
        i++;
        if (i <2) {
            run();
        }
    }, 5000)
}