Created
August 10, 2023 11:47
-
-
Save musou1500/f43f22debd9e841f77982aeaeb9c93e5 to your computer and use it in GitHub Desktop.
bookmarklets
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:(()=>{const m=/^https:\/\/(www\.)?youtube\.com\/shorts\/([a-zA-Z0-9-_]+)$/.exec(location.href);if(m==null){alert("invoke it on shorts page");}else{location.href=`https://youtube.com/watch?v=${m[2]}`;}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment