Enable a configurable URL redirect dictionary in settings

(#3568) Feature Open: Under consideration messaging privacy ui

Current problem

There is no regex-replace function.

Proposed change

  • Create a client side regex-replace function that modifies URLs in messages with more privacy respecting alternatives before sending. This would be very similar to the preset/user defined lists like the translators/search engines/reverse image search options. Ideally it would be a configurable dictionary that supports clarifying both the URLs to be detected and what it would be replaced with.
  • Additionally, allow the same parser to redirect links from other users' messages to the configured URL with a toggle

Additional information

  • For a general reference and preset list of source/alternative URLs, see LibRedirect
  • This would also allow for external application redirects, such as YouTube links to FreeTube, Steam links to the native Steam app, etc.
  • This could be expanded to work as a general regex-replace feature, though I'm not sure what other use cases that would be accounting for

Merged posts

These posts were merged into this one. Their comments are now part of the conversation below, marked with where they came from.

Report details

Current problem

Sharing links from sites like Twitter and Instagram requires changing the domain to an alternative like fixupx.com or kkinstagram.com to get a better embed, or just to avoid interacting with the original site as much as possible.

Proposed change

Rather than having to manually edit each link, let users define custom sharing domains whenever they send or open a default link. Example: Change x.com => fixupx.com Change instagram.com => kkinstagram.com Change tiktok.com => tnktok.com And so on. Users should be able to define their own domains, of course. This would go hand-in-hand very nicely with removing tracking parameters from URLs.

Platform

macOS, Windows, Linux, Web, Android, iOS

Comments

Sign in with Fluxer to comment and vote.

No comments yet.