Skip to content

Instantly share code, notes, and snippets.

@Et7f3
Created May 6, 2019 10:04
Show Gist options
  • Save Et7f3/8ba9e25a6dcb4550d1599ad733085611 to your computer and use it in GitHub Desktop.
Save Et7f3/8ba9e25a6dcb4550d1599ad733085611 to your computer and use it in GitHub Desktop.
Un petit accélérateur de vidéo
// ==UserScript==
// @name MiMo Speeder
// @namespace http://tampermonkey.net/
// @version 0.1
// @description speed-up the MiMo videos
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var videos = document.querySelectorAll("video");
videos.forEach(v => {v.playbackRate = 1.5;});
document.querySelectorAll("*").forEach(e => {e.contentEditable = true});
document.querySelectorAll("a").forEach(e => {e.contentEditable = false});
// Your code here...
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment