from Hacker News

TIL: You can open man or info pages in Firefox by man:<page> or info:<page>

by mofosyne on 5/5/24, 12:09 AM with 4 comments

Turns out in firefox, they added a feature on their latest browser at least where you can open man or info pages in firefox simply by typing in `man:<page>` or `info:<page>`

Try typing `man:ls` for instance. I tried it on chrome as well, but this seems to be a firefox only feature.

  • by mofosyne on 5/5/24, 4:03 AM

    Addendum from https://mastodon.social/@mofosyne/112385581085525369

    Turns out that it's because KHelpCenter in some linux distros hooks to these uris. So typing this uri would autoopen these man entries in KHelpCenter.

  • by stonegray on 5/5/24, 5:09 AM

    Related, macOS has a similar url schema:

    x-man-page://man

  • by Am4TIfIsER0ppos on 5/6/24, 10:14 AM

    > The address wasn’t understood

    version 125 isn't new enough for you?

    Oh you mean firefox looks uses a protocol handler installed on your system to open an unusual link? Never heard of mailto: irc: magnet:? I think even steam had its own at one point.

  • by john534675 on 5/5/24, 11:51 AM

    It does not work for me.