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

Small issue, plus comments #4

Open
a-einstein opened this issue Dec 20, 2018 · 2 comments
Open

Small issue, plus comments #4

a-einstein opened this issue Dec 20, 2018 · 2 comments

Comments

@a-einstein
Copy link

Thanks for sharing this, even after a couple of years this still helped me to clean up after reporting a lot of accounts.

Small issue: a missing ';' at the end of the line of 'var unblockButton'.

Update for UNBLOCKING, the line should now be:
var unblockButtons = document.getElementsByClassName("unblock-text");

Addition for UNMUTING, change the line to:
var unblockButtons = document.getElementsByClassName("unmute-user-item");

I refreshed the page a couple of times because of the great number of items, then re-pasted the script in , before calling main() again.

@DocRedFox
Copy link

I made the changes you suggested to the code but it appears that twitter limits the number of requests if your block list is long. I'm thinking the while loop at the end needs to be adjusted so the client isn't making too many requests? Any idea on how to modify that to get this to still work?

@Sanjana-Rao
Copy link

Thanks for sharing this, even after a couple of years this still helped me to clean up after reporting a lot of accounts.

Small issue: a missing ';' at the end of the line of 'var unblockButton'.

Update for UNBLOCKING, the line should now be:
var unblockButtons = document.getElementsByClassName("unblock-text");

Addition for UNMUTING, change the line to:
var unblockButtons = document.getElementsByClassName("unmute-user-item");

I refreshed the page a couple of times because of the great number of items, then re-pasted the script in , before calling main() again.

I made the changes but it only says "unblock 0 accounts"
It is scrolling but I don't think it is recognising the block button. Please help?

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

No branches or pull requests

3 participants