Last active
October 10, 2020 20:03
-
-
Save WiLuX-Source/7ea5f384e551b111f4c32a8955677f81 to your computer and use it in GitHub Desktop.
It allows you to listen your music without intro or outro
This file contains 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
var timeend = prompt("Write Your Time Where You Want To End") | |
var timestart = prompt("Write Your Time Where You Want To Start") | |
var vid = $(".html5-main-video.video-stream"); | |
setInterval(() => { | |
if (vid.currentTime > timeend) | |
{ | |
vid.currentTime = timestart | |
}}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment