Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xetera/this-tweet-took-off
🔪 Block replies to viral tweets from users getting paid to promote useless products
https://github.com/xetera/this-tweet-took-off
adblock twitter
Last synced: 3 months ago
JSON representation
🔪 Block replies to viral tweets from users getting paid to promote useless products
- Host: GitHub
- URL: https://github.com/xetera/this-tweet-took-off
- Owner: Xetera
- License: mit
- Created: 2021-09-18T23:22:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-03T16:16:20.000Z (over 1 year ago)
- Last Synced: 2024-08-01T21:59:23.954Z (5 months ago)
- Topics: adblock, twitter
- Language: Python
- Homepage:
- Size: 785 KB
- Stars: 16
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This Tweet Took Off
Ublock Origin filter list targeting long reply chains posted by twitter users who get paid to promote random products on viral tweets.
![](./example.png)
## Usage
Simply import the following url into uBlock Origin as a custom filter.
```
https://raw.githubusercontent.com/Xetera/this-tweet-took-off/main/dist/rules.txt
```![](./step-1.png)
![](./step-2.png)
If you don't have uBlock installed, you can get it for [Chrome](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/).
## Contribution
If you see a promoted url that isn't removed, add the visible portion of the promoted url in the tweet to `advertisers.txt`. Create a pull request with the changes along with an example a link to the promoted tweet.
## Limitations
Loading tweets with a lot of promoted replies can cause the site to get jumpy as multiple tweets are being removed after being loaded.
The most foolproof way of doing this would be to intercept http responses from the twitter api and filter out tweets that include flagged urls so they're never even rendered in the first place. However, due to restrictions on web extensions, only requests can be intercepted and modified, and not responses. So this is the second best way.