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
javascript:(function() { | |
var ytUrl = window.location.href; | |
var useVideoId = false; | |
if (ytUrl.includes("youtube.com") || ytUrl.includes("youtu.be")) { | |
var useVideoIdInput = confirm("Do you want to use the video ID of the current YouTube video?"); | |
if (useVideoIdInput) { | |
useVideoId = true; | |
} | |
} |