Edit history

Enable a configurable URL redirect dictionary in settings has not been edited, so there are no earlier versions.

Current version | Original by _
Show

Enable a configurable URL redirect dictionary in settings

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 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