Toggle non-media tweets on and off on the home timeline, for the power-viewer!
< Commentaires sur Twitter media-only filter toggle.
It seems like a bunch of things have become broken over time with this script as twitter's UI changes. I'll look into it in a bit.
I saw that you updated today, but I still am having the scrolling issue.
Sorry, the update was only for the domain change from twitter to x. Still getting to the issues of the script.
Are you still working on fixing the issues?
Okay, I think issues may have been caused by hiding elements in the timeline, causing twitter's UI to freak out. I rewrote the script to instead just filter the incoming tweet data, however this means that clicking the script button will refresh the page in order to show changes.
Now it's constantly just saying "Something went wrong. Try reloading". Reloading does not fix it.
Are you using version 0.15? I pushed 0.14 but it had some bugs, and fixed them soon after.
Pushed version 0.16 to also fix the button
What browser and browser version? What script runner are you using, greasemonkey, tampermonkey?
Google chrome 128.0.6613.114
Tampermonkey
Disabled all other extensions and scripts, and found that did not solve the issue.
Works on Firefox 129.0.2
Okay, I figured out what the issue is with chrome, however, I need to refine the function that detects a media tweet, because that isn't working like I thought.
Try 0.17 now. 4th time is the charm!
Works now!
For some reason now when you scroll down after a while it starts scrolling up to the top of the page, and no matter how much you try to scroll back down it goes back to the top of the page.