Skip to content
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: more scripts #2

Closed
wants to merge 1 commit into from
Closed

Conversation

stevanlohja
Copy link

Scripts to remove likes in "rm_likes.js" and to remove both "posts" and "reposts"

@@ -0,0 +1,28 @@
const removeLikes = async () => {
const processedButtons = new Set();
const getLikeButtons = () => Array.from(document.querySelectorAll('[data-testid="like"]'));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script seems to like and then unlike posts?
When I visit https://twitter.com/username/likes, the script just exits immediately since all ids are "data-testid="unlike"'.

@techleadhd techleadhd closed this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants