revanced-patches icon indicating copy to clipboard operation
revanced-patches copied to clipboard

feat(Twitter / X): Various TwiFucker patches

Open kazimmt opened this issue 1 year ago • 7 comments

Application

com.twitter.android

Issue

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

Patch

  • [x] Hide ads
  • [x] Hide Recommended users
  • [x] Remove promoted users (Who to Follow)
  • [ ] Remove promoted trends - Screenshot
  • [ ] Remove Trending tab - Screenshot
  • [ ] Remove sensitive media warning - Screenshot
  • [ ] Copyable alt text - Screenshot
  • [x] Download media menu - Screenshot 1 Screenshot 2
  • [ ] Hide drawer items - Screenshot
  • [ ] Hide "For you" tab - Screenshot
  • [ ] Hide navigation bar items - Screenshot
  • [ ] Disable url redirect Prevent Twitter redirect from t.co to target link when clicking on a link in Twitter.
  • [ ] Disable Threads (live content) - Screenshot
  • [ ] Disable Tweet Detail Related Tweets - Screenshot
  • [ ] Remove video carousel from search - Screenshot
  • [ ] Disable banner view - Screenshot
  • [ ] ReVanced Settings for Twitter

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

  • [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I filled out all of the requested information in this issue properly.

kazimmt avatar Aug 05 '23 05:08 kazimmt

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

oSumAtrIX avatar Aug 05 '23 20:08 oSumAtrIX

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 avatar Aug 06 '23 06:08 kazimmt

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

kazimmt avatar Aug 07 '23 14:08 kazimmt

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.

PabloOQ avatar Aug 09 '23 14:08 PabloOQ

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

Pratik-193 avatar Jan 29 '24 15:01 Pratik-193

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

kazimmt avatar May 08 '24 15:05 kazimmt

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

bqv avatar Sep 20 '24 19:09 bqv