Rewrite reddit links to use the Narwhal 2 URI scheme

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

作者
HealsCodes
今日安裝
0
安裝總數
2
評價
0 0 0
版本
1.3
建立日期
2025-04-02
更新日期
2025-04-05
尺寸
3.3 KB
授權條款
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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址