Skip to content

Instantly share code, notes, and snippets.

@pegakmupyem
Forked from tosunkaya/Youtubehyperweb.js
Created July 23, 2022 05:57
Show Gist options
  • Select an option

  • Save pegakmupyem/655e6f29c5eca809eea4a8413e920cbc to your computer and use it in GitHub Desktop.

Select an option

Save pegakmupyem/655e6f29c5eca809eea4a8413e920cbc to your computer and use it in GitHub Desktop.
Open in Youtube sideload hyperweb
let params = (new URL(window.location)).searchParams;
let name = params.get("v");
window.location.href = `youtube://${name}`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment