Last active
December 4, 2022 17:58
-
-
Save Dark000Soldier/651b7d9dd8d28bbf86a7cf0a2a906257 to your computer and use it in GitHub Desktop.
fork form : asportnoy/open-youtube-app.user.js
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 Reddit App | |
| // @version 1.0.2 | |
| // @author asportnoy | |
| // @match *://*.reddit.com/* | |
| // @downloadURL https://gist.github.com/asportnoy/628b820184297f5fe296c1a5b79c8000/raw/open-reddit-app.user.js | |
| // @updateURL https://gist.github.com/asportnoy/628b820184297f5fe296c1a5b79c8000/raw/open-reddit-app.user.js | |
| // @homepage https://gist.github.com/asportnoy/628b820184297f5fe296c1a5b79c8000/ | |
| // ==/UserScript== | |
| if (window.location.pathname === '/redirect') return; | |
| window.location.href = `reddit://${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