Rewrite reddit links to use the Narwhal 2 URI scheme

4/5/2025, 11:24:00 AM

लेखक
HealsCodes
दैनिक इंस्टॉल
0
एकूण इंस्टॉल
4
रेटिंग
0 0 0
आवृत्ती
1.3
बनवली
2025-04-02
अपडेट केली
2025-04-05
आकार
3.33 KB
License
GPL3
यांवर लागू होते:
सर्व संकेतस्थळे

Narwhal2 Redirect for Reddit Links

This UserScript will rewrite all links pointing to reddit to instead open in the Narwhal2 app for iOS / iPadOS

Why?

I’m mainly using this script from ViolentMonkey inside Orion but I’ve come across a number of iOS browsers that fail to open reddit deep-links in Narhwal automatically and I hate to have to open reddit, click on an open-in button and then close the reddit tab.

Install Instructions for iOS / iPadOS

If you use Safari:

  • install Stay (you don’t need the Pro purchase)
  • open Stay and follow the setup instructions to enable the Extension in Safari
  • allow “always enabled on all pages”
  • open the link to my UserScript
  • click “Install this Script”
  • click “I already have a userscript manager”
  • click “Install this Script” again
  • click on the Stay-icon that appears in the bottom right

If you use a browser with Chrome or Firefox Extension support like Orion:

  • install ViolentMonkey from here
  • open the link to my UserScript
  • click “Install this Script”

Changelog

  • v1.3:
    • handle browser tabs that open to a reddit-url (e.g. if triggered by another application)
  • v1.2:
    • add context menu option to toggle the Whale emoji on an off
  • v1.1:
    • add missing @run-at
  • v1.0:
    • initial release