Acellus AutoSpeed

An auto video speed for Acellus.

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!)

// ==UserScript==
// @name          Acellus AutoSpeed
// @namespace     http://acellus.com/
// @include       *://*.acellus.com/*
// @grant         none
// @description An auto video speed for Acellus.
// @version 1.1.0
// ==/UserScript==
// Custom function to wait until the page is fully loaded before executing code to avoid acellus detecting this.
function waitForPageLoad(callback) {
  if (document.readyState === 'complete') {
    callback();
  } else {
    window.addEventListener('load', callback);
  }
}


waitForPageLoad(function() {
  var vids = document.getElementsByTagName("video");
 for (var i = 0; i < vids.length; i++) {
     vids[i].playbackRate = 1.5;
 }
});