UrlChecker icon indicating copy to clipboard operation
UrlChecker copied to clipboard

Replace url support for url cleaner module

Open AdityaMH opened this issue 1 year ago • 1 comments

Describe a related problem (optional)

if someone want to change url from en.google.com to www.google.com, or media.discordapp.net to cdn.discordapp.com you can't do that because clearurl didn't support it.

Describe your suggested feature

Using alternative to clear or replace url or make it support js like this: https://github.com/AdityaMH/Untracker/blob/fix-yt-music/app/src/main/java/me/zhanghai/android/untracker/BuiltinRuleList.kt

Describe alternatives you've considered for your suggested feature

No response

Other details

No response

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I will fill out all of the requested information in this form.

AdityaMH avatar May 06 '24 10:05 AdityaMH

The pattern checker module should allow what you want.

It may be more complex to setup than adding code, I agree, but it should be similar regarding what you can do.

Is there something that code allows and the patterns doesn't? I won't mind adding a more general "Coding module", but I need to check if there is an easy way to add a language parser that doesn't add a big overhead (maybe lisp? Probably better JavaScript...I see you are using quick-js...I wonder how much overhead it adds...)

TrianguloY avatar May 08 '24 18:05 TrianguloY

Solved by add automation feature

AdityaMH avatar Mar 06 '25 03:03 AdityaMH