Created
May 6, 2019 10:04
-
-
Save Et7f3/8ba9e25a6dcb4550d1599ad733085611 to your computer and use it in GitHub Desktop.
Un petit accélérateur de vidéo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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