better-twitter icon indicating copy to clipboard operation
better-twitter copied to clipboard

Hide "Follow Topic"

Open j4nw opened this issue 3 years ago • 6 comments

I believe this is different from #17. Shows a single topic and an example viral tweet. These relentlessly pop up pretty much every time I log into twitter for the first time in a given day.

Screenshot_2021-01-07 Home Twitter

FWIW my cosmetic uBlock Origin filter for hiding those is:

twitter.com##:xpath(//a[contains(@href, 'i/topics/')]/ancestor::article/../..)

Attached is the entire HTML element of such tweets. follow-topic.txt

Thank you for making my life much better with this extension!

j4nw avatar Jan 08 '21 11:01 j4nw

Thanks for the kind words and for the hint of how to implement this feature!

oslego avatar Jan 11 '21 10:01 oslego

+1 for the features and thank you so much @j4nw for the uBlock filter <3

D4RKONION avatar Feb 03 '21 11:02 D4RKONION

putting in +1 on this as well. Love your add-on, it's immensely improved my mental health, but Twitter keeps rolling out stupid stuff like Topics to try and force users into their ecosystem

Limerance avatar Mar 25 '21 03:03 Limerance

+1! This horrible thing actually made me search for a solution and led me to your extension, so I guess I'm thankful it happened to me :) Thank you for the extension, and double-thank you for making it open source!

juef17 avatar Mar 29 '21 01:03 juef17

@oslego how's motivation doing? :D I might have motivation to implement this one but probably no time if there is any obstacle, which I would expect to encounter as this is not my field of expertise.

I'd tip you $100 in BTC for this one.

Giszmo avatar Apr 23 '21 15:04 Giszmo

@Giszmo Thanks for offering to finance patch! Changes in my personal circumstances mean I can't work on or release a new version of Better Twitter in the near future. I am considering looking for a trusted maintainer to take over.

If you want to fork this project and make changes for yourself, go ahead. You will be able to run a modified version of this extension in Chrome from local disk. See https://github.com/oslego/better-twitter#install-from-source

@j4nw's suggestion at the top provides a key for the fix. However, the extension's code currently does not use XPATH selectors. Identifying a hyperlink to topics and hiding the right ancestor is a viable approach. The implementation would be similar to the patch to remove tweets liked by others.

oslego avatar Apr 25 '21 11:04 oslego