ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.48k stars 287 forks source link

feat(Twitter / X): Various TwiFucker patches #519

Open kazimmt opened 1 year ago

kazimmt commented 1 year ago

Application

com.twitter.android

Issue

I'd like to make a request to incorporate some TwiFucker patches into ReVanced Twitter.

Patch

Motivation

In the past, Twifucker provided all these features through LSPatch, & all the modifications are applied at once. However, with the introduction of the ReVanced patch, users have the flexibility to manually select and apply specific features as they desire.

Acknowledgements

oSumAtrIX commented 1 year ago

Explain every of the tick boxes, it is unclear what a "Banner view" is.

kazimmt commented 1 year ago

Explain every of the tick boxes, it is unclear what a "Banner view" is.

I've linked all the screenshots, which I believe should be sufficient to explain the feature.

kazimmt commented 1 year ago

@oSumAtrIX maybe you can remove waiting on author tag as i already linked the necessary screenshots.

PabloOQ commented 1 year ago

Disable url redirect Prevent Twitter redirect from t.co to target link when clicking on a link in Twitter.

This one in particular is really useful, as the wrapper prevents anyone from opening a URL in a supported app (with some exceptions like youtube URLs, which are not wrapped), forcing users to go through their web browsers. Also, it could be an easy fix, as the twitter API answers with both, the t.co URL and the destination URL.

Here (https://developer.twitter.com/en/docs/tco) in the section "Linking to content within Tweets" they explain the fields that the JSON has, it might be as easy as changing "url" to "expanded_url" in some places. In the same page they state "All links submitted within Tweets and Direct Messages, regardless of length, will eventually be wrapped with the t.co shortener.", which is true but they also wrap URLs in the bio of users and linked websites.

Hope this is helpful for anyone considering implementing this.

Pratik-193 commented 9 months ago

Below features will be super useful.

Hide ads Hide Recommended users Remove promoted users (Who to Follow) Remove promoted trends

Download media menu Prevent Twitter redirect from t.co to target link when clicking on a link in Twitter. ReVanced Settings for Twitter

kazimmt commented 6 months ago

I believe Most of the patches now available at https://github.com/crimera/piko

bqv commented 1 month ago

@crimera @kazimmt any chance of #3665 in piko?