Skip to content

Register custom protocol/URI scheme handler #4263

Description

@shaedrich

Describe the feature

Alternative frontends like Piped could register a custom protocol/URI scheme, so users can chose to be redirected without an extension

navigator.registerProtocolHandler(
  'web+video',
  'https://piped.video/scheme/%s', // redirects to https://piped.video/watch?v=%s.subststring(9)
);

Why would this be useful to add?

To watch videos on Piped, I either have to copy-paste the URL/video ID into Invidious by hand or install a browser extension (which might be a privacy risk). Either way, the burden is on me, when people share videos with YouTube's TLD.

Concept(s)

No response

Additional context

No response

Acknowledgements

  • I have searched the existing issues and this is NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this form.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions