Análises para Better Twitter
Better Twitter por Razvan Caliman
Análise por Utilizador do Firefox 13112025
Avaliado em 5 de 5
por Utilizador do Firefox 13112025 , há 5 anos /*
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.
Here in JavaScript, we listen for all `animationstart` events, check if they match
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!
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.
Here in JavaScript, we listen for all `animationstart` events, check if they match
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!
Resposta do programador
publicado a há 5 anosGlad you found the add-on and the technique described in the code useful.
78 análises
- Avaliado em 5 de 5por cwade , há 9 meses
- Avaliado em 1 de 5por Sir_Jimmothy , há um anoDidn't care about any option but "hide retweets", and this feature just doesn't work. Hopped into a user's twitter profile and retweets were still visible.
- Avaliado em 5 de 5por Saplingbat , há 2 anosAbsolutely fantastic App, that does exactly what I want it to. I just wish it worked for android Firefox as well. Twitter app has been getting worse and worse lately, and it'd be nice to have an alternative while on the go. Highly recommend.
- Avaliado em 5 de 5por Malkovexsur , há 2 anos
- Avaliado em 5 de 5por detepavidson , há 2 anosThis is great! I like to use Twitter as a tool for reading up on trends related to topics I'm interested in. This extension is great because I can focus on finding the information I want without the distraction of vanity metrics. My only ask of the developer is that you add an option to allow us to remove the "For you" tab. Otherwise this is a great extension, thanks!
- Avaliado em 2 de 5por Utilizador do Firefox 17303515 , há 2 anosUpdated 1/15: even with version 2.1.2, I still have promoted tweets showing. I appreciate you following up on the issue. I am happy to update my review when promoted tweets are blocked. This has been an issue for me since October. I posted the issue on github back in October.
Promoted tweets are not being blocked. This has been an issue for a few months now.Resposta do programador
publicado a há 2 anosFixed in version 2.1.2. Will you also update your review accordingly?
Update 1/16: The extension was updated and tested on the latest Twitter on Firefox and Chrome. See if this works:
1) check to ensure that the setting to hide promoted tweets is on
2) refresh the page if the extension was installed while viewing open Twitter pages
3) as a last resort, try removing and reinstalling the extension
If none of these things work, Twitter may be offering you a different version of its code (through A/B testing) that I don't get so I can't test. Unlikely, but possible. - Avaliado em 5 de 5por Utilizador do Firefox 17675461 , há 2 anosPromoted tweets are no longer being blocked but everything appears to be working.
Edit: Thank you for continuing to work on your plugin, still the best plugin for Twitter imo. - Avaliado em 5 de 5por Utilizador do Firefox 15163168 , há 3 anosRemoves the "whats going on" crap, as well as other crap. It takes slightly longer to load a bunch of tweets, but it works!
- Avaliado em 5 de 5por Utilizador do Firefox 15156282 , há 3 anos
- Avaliado em 5 de 5por Utilizador do Firefox 15718639 , há 3 anos
- Avaliado em 5 de 5por Utilizador do Firefox 17223207 , há 3 anos
- Avaliado em 5 de 5por I am the Carl , há 4 anosWorks as advertised and the dev works hard to maintain it. It stays out of the way and gets Twitter's unwanted features out of the way too.
- Avaliado em 1 de 5por Utilizador do Firefox 11230772 , há 4 anosI've tried several of these addons, and they just don't do any of the things they claim.