-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex support for urltransform
#2924
Comments
urltransform
What if
|
Is there any chance you'd consider either:
Why I'm asking - a few days ago reddit made my account part of an experiment where they forced Other than contacting reddit to get to the bottom of it, I tried switching to the Before successfully making my case for getting me out of this experiment, I was considering my options and whether a userscript or installing Redirector was my only way out of this. So I'm just wondering if there'd be a way of doing it with uBO. Since this would surely involve a lot of work for little benefit, please treat this as more of a theoretical question than a serious request. |
@u-RraaLL If you use Firefox, I recommend Request Control for this. The default example rules might be outdated, but it allows you to perform all sorts of advanced URL manipulations with very specific rules. I've created these for Old Reddit: reddit.txt. If you want to play with them, go to the |
I won't change the requirement that the resulting transformed URL has to be on the same domain, there are extensions specialized in this, this doesn't have to be undertaken by uBO, this would just open the door to a huge amount of added burden to maintainers because it would become expected uBO replace those specialized extensions.
I don't understand that request, |
@gorhill Before
That would address these and most strict-blocked redirect URLs that people complain about Peter Lowe's list. |
I commented in the past about why I see burden ahead with opening the door to "bypass url-based trackers", see #1784 (comment). There will always be a case that is just one step away from whatever ability we add to If I was to add such capability, there would need to be a very solid argument that we are not going to go further than a very well defined ability. |
This is fixed now. |
@gwarser Your filter works. ||upera.shop/ref/$doc,urltransform=/^\/ref\/[^\/]+// |
#2923:
I want to change
https://upera.shop/ref/3m8/ckz0oa1m
tohttps://upera.shop/ckz0oa1m
to prevent tracking, but I can't do this using$urltransform
since it doesn't support regex.They're the download links here:
https://www.doostihaa.com/post/1402/08/09/%d9%82%d8%b3%d9%85%d8%aa-18-%d9%85%da%af%d9%87-%d8%aa%d9%85%d9%88%d9%85-%d8%b9%d9%85%d8%b1-%da%86%d9%86%d8%af-%d8%aa%d8%a7-%d8%a8%d9%87%d8%a7%d8%b1%d9%87.html
3m8
is the tracking code for each site (many sites use theupera.shop
download links).ckz0oa1m
is the video code.A specific URL where the issue occurs.
https://upera.shop/ref/3m8/ckz0oa1m
The text was updated successfully, but these errors were encountered: