-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
feat(Twitter): Add Change link sharing domain
patch
#3118
Conversation
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
...kotlin/app/revanced/patches/twitter/misc/fxtwitter/fingerprints/FxTwitterPatchFingerprint.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
Change link sharing domain
patch
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/fxtwitter/FxTwitterPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/RemoveLinkTelemetryPatch.kt
Outdated
Show resolved
Hide resolved
...kotlin/app/revanced/patches/twitter/misc/links/fingerprints/AddTelemetryToLinkFingerprint.kt
Outdated
Show resolved
Hide resolved
.../kotlin/app/revanced/patches/twitter/misc/links/fingerprints/LinkBuilderMethodFingerprint.kt
Outdated
Show resolved
Hide resolved
…LinkSharingDomainPatch.kt Co-authored-by: oSumAtrIX <[email protected]>
…LinkTelemetryPatch.kt Co-authored-by: oSumAtrIX <[email protected]>
Is this PR still active? |
Hey @FrozenAlex! Thanks for this patch. It's gonna be a very useful feature to have because now we have to edit all the shared links manually. I really hope @oSumAtrIX is gonna accept it to the main base. |
All of the requested changes seem to be resolved, do I need to add handling of links directly here or should it be a separate pull request? I need some time on making them work well. Nvm, those are going into a separate pull request. |
My build had some outdated types, updated them |
Should fix issue ReVanced/revanced-patches-template#764 |
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/twitter/misc/links/ChangeLinkSharingDomainPatch.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still a lot of offsets such as +1, +2, -1. You should comment them or give them explanatory variable names.
Hey, just letting you know that we have renamed repositories. Please close this PR and re-open it here. PS: No additional changes are needed to your remotes. |
Sure |
The patch replaces x.com and twitter.com in share by fxtwitter.com and optionally other mirrors.
Since twitter does not have a settings GUI yet, I use patch options to configure the patch.
Update: added a patch to remove tracking from links