Skip to content

Instantly share code, notes, and snippets.

@tnraro
Last active June 9, 2021 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnraro/aa2a08e3e6c12a3107381aeda2696779 to your computer and use it in GitHub Desktop.
Save tnraro/aa2a08e3e6c12a3107381aeda2696779 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name koer2x
// @namespace https://gist.github.com/tnRaro/aa2a08e3e6c12a3107381aeda2696779/raw/koer2x.user.js
// @version 0.3
// @description try to take over the world!
// @author tnRaro
// @match http://www.koer.kr/*
// @match http://www.udec.kr/*
// @grant none
// ==/UserScript==
globalThis.api = {
setPlaybackRate(speed = 2) { document.getElementById("my-video_html5_api").playbackRate = speed; }
};
(function() {
'use strict';
window.onload = () => {
globalThis.api.setPlaybackRate();
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment