Skip to content

Instantly share code, notes, and snippets.

@igrep
Last active January 28, 2023 14:27
Show Gist options
  • Save igrep/8922f1b8d20958ad6ca9d7c280823646 to your computer and use it in GitHub Desktop.
Save igrep/8922f1b8d20958ad6ca9d7c280823646 to your computer and use it in GitHub Desktop.
Replace a YouTube Short video's URL into traditional one. YouTubeのShortのURLを従来の形式のURLに書き換える
javascript:location.href="https://www.youtube.com/watch?v="+location.href.slice(`${location.origin}/shorts/`.length)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment