Additivos del navigator Firefox
  • Extensiones
  • Themas
    • pro Firefox
    • Dictionarios e pacchettos de lingua
    • Altere sitos de navigatores
    • Additivos pro Android
Aperir session
Vista preliminar de Discover Less

Discover Less per Matheus Araujo

A simple extension that hides the 'Discover More' on Twitter and 'mute/block' messages

0 (0 reviews)0 (0 reviews)
2 Usatores2 Usatores
Tu pote usar iste extension solo sur Firefox
Discarga Firefox installa le extension
Discargar file

Metadatos del extension

A proposito de iste extension
Extension for reducing distractions on X 🐦

I created a simple Chrome extension to avoid distractions with "Discover More" on X. For those who have difficulty keeping their focus, like me, it disturbs them so much.

The extension occults the "Discover More" function, improving the browsing experience.
Commentos del disveloppatores
How it Works
  1. The script defines an array called blockedWords containing phrases used for filtering.
  2. The removeDiscoverMore function performs the core removal logic:
    • It selects all elements with the data-testid="cellInnerDiv" attribute.
    • Iterates through these elements in reverse order for proper removal.
    • For each element, it checks the heading text for any blocked word.
    • If a blocked word is found, the function removes the current element and all its following siblings with the same test ID.
  3. The removeElements function is a helper function used to remove elements efficiently:
    • It finds the index of the element within its parent node.
    • It hides all following siblings using display: none instead of complete removal to avoid triggering Twitter's re-rendering.
  4. The script calls removeDiscoverMore initially to remove existing elements.
  5. Finally, a MutationObserver is created to monitor the DOM for changes. Whenever the DOM structure changes (e.g., new elements are added), the removeDiscoverMore function is re-executed to remove any newly added elements containing blocked phrases.
Valutate 0 per 0 revisores
Aperi session pro evalutar iste extension
Il ha non ha ancora evalutationes

Evalutation de stellas salvate

5
0
4
0
3
0
2
0
1
0
Ancora nulle recensiones
Permissiones e datosSaper plus

Permissiones necessari:

  • Accede tu datos pro twitter.com
Plus de informationes
Ligamines del additivo
  • Pagina principal
  • Sito de supporto
  • Email de supporto
Version
1.0.0
Dimension
42,34 KB
Ultime actualisation
há um ano (3 de abr de 2024)
Categorias associate
  • Confidentialitate & securitate
  • Social & communication
Licentia
Apache License 2.0
Historia de versiones
  • Vide tote le versiones
Etiquettas
  • content blocker
  • social media
  • twitter
Adder al collection
Reporta iste additivo
Altere extensiones ex Matheus Araujo
  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

Ir al pagina principal de Mozilla

Additivos

  • A proposito
  • Blog del additivos de Firefox
  • Laboratorio de extensiones
  • Centro de disveloppatores
  • Politicas pro disveloppatores
  • Blog del communitate
  • Foro
  • Reportar un defecto
  • Guida al revision

Navigatores

  • Desktop
  • Mobile
  • Enterprise

Productos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Confidentialitate
  • Cookies
  • Legal

Excepte ubi alteremente indicate, le contento de iste sito es publicate sub licentia Creative Commons Attribution Share-Alike v3.0 o qualcunque version plus recente.