Rewrite reddit links to use the Narwhal 2 URI scheme

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

Autor
HealsCodes
Instalaciones diarias
0
Instalaciones totales
4
Calificaciones
0 0 0
Versión
1.3
Creado
02/04/2025
Actualizado
05/04/2025
Tamaño
3.33 KB
Licencia
GPL3
Funciona en
Todos los sitios

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