NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Proxer Speed Play // @version 1.00 // @description Diese Erweiterung fügt den Proxer HD Videos eine Option der Abspielgeschwindigkeit hinzu // @author fraenkthetaenk // @include http://stream.proxer.me/* // @include https://stream.proxer.me/* // @run-at document-end // ==/UserScript== $(document).ready(function (e) { console.log("document.ready start"); $(document).keyup(function (e) { console.log("keyup " + e.which); switch (e.which) { //Mit der Taste 1 case 49: case 97: document.getElementsByTagName("video")[0].playbackRate = 1.5; break; //Mit der Taste 2 case 50: case 98: document.getElementsByTagName("video")[0].playbackRate = 2.0; break; //Mit der Taste S case 83: var video = document.getElementsByTagName("video")[0]; video.pause(); video.playbackRate = window.prompt("Which speedwould you like to use? Use '.' for decimals.", "1.0"); video.play(); break; } console.log(document.getElementsByTagName("video")[0].playbackRate); }); console.log("document.ready end"); });