- av Firefox-användare 13112025, för ett år sedanBetygsatt 5 av 5/*
The new Twitter interface (circa 2019) uses auto-generated markup
with obfuscated class names which are not guaranteed to be stable over time.
In order to remove unwanted parts of the UI when they appear,
we use CSS selectors in the stylesheet (content.css) to identify
areas of interest, then apply a short fake animation to them.
one of the areas of interest (`AnimationEvent.target` points to the element matched
by the CSS seletor), then mark the target element or one of its ancestors. This marker
then causes a CSS selector from content.css to match and hide the intended element.
This is a convoluted but viable workaround for missing ancestor selectors in CSS.
I used to use Stylus/Stylish filter to achieve my intentions, which are closely the same as what this addon does. However, since the major change introduced in this spring, my solution no longer works. I looked for a working addon to get the same result, but there seemed to be none.
Then, a few months later, I finally found this addon. This method (quoted above as comment) is brilliant!
- av Matheus, för ett år sedanBetygsatt 5 av 5works with the exception of hide ''trends of you'', which is essential for me to be permanently rid off.
- av Katja, för ett år sedanBetygsatt 5 av 5Worked like a charm and now I don't have to fall down the rabbit hole of twitter nonsense everytime I go on to share something or reply to actual notifications. Thank you very much for doing this!
- av Grayson Peddie, för 3 år sedanBetygsatt 5 av 5This is an extension that I need to block away the "Trends for you" so I won't get into politics and conspiracies with the Presidential candidates for the 2019 election. "Trends for you" in Twitter is a place where misinformation is rampant. That's why I simply want a better Twitter experience for myself.
Also, "who to follow" is not of relevance to me as I simply do not trust their algorithms without a human element. It's akin to a stranger telling me who to follow.
Anyway, thanks for the extension.