-
-
Save Dark000Soldier/4814f9269d2af7b95e32ee89274f8cc5 to your computer and use it in GitHub Desktop.
Open Youtube App Userscript | See https://github.com/qnblackcat/uYouPlus/issues/69
This file contains hidden or 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
| // ==UserScript== | |
| // @name Open Instagram App | |
| // @version 1.0.2 | |
| // @author asportnoy | |
| // @match *://*.instagram.com/* | |
| // @downloadURL https://gist.github.com/asportnoy/628b820184297f5fe296c1a5b79c8000/raw/open-instagram-app.user.js | |
| // @updateURL https://gist.github.com/asportnoy/628b820184297f5fe296c1a5b79c8000/raw/open-instagram-app.user.js | |
| // @homepage https://gist.github.com/asportnoy/628b820184297f5fe296c1a5b79c8000/ | |
| // ==/UserScript== | |
| if (window.location.pathname === '/redirect') return; | |
| window.location.href = `instagram://${window.location.pathname.slice(1)}${ | |
| window.location.search | |
| }${window.location.hash}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment