-
-
Save TangentFoxy/aa91f2726a067dc459d5065fad839e3e to your computer and use it in GitHub Desktop.
Modified for personal use. Points to my own domain.
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
// The bookmarklet does a couple things: | |
// If the current page in the browser is a YouTube page, it will open that video in `invidious.xyz` | |
// If the current page in the browser is _not_ a YouTube page, it will open the `invidious.xyz` homepage | |
// | |
// To use: Copy/Paste the code below into the bookmark's address: | |
javascript:location.hostname.includes("youtube.com")?location.assign("https://invidious.tangentfox.com"+location.pathname+location.search+location.hash):location.assign("https://invidious.tangentfox.com"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment