Speed up video

Speed up video youtube, facebook

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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)
}