Izegrar i yiminig Firefox
  • Isiɣzaf
  • Isental
    • I Firefox
    • Imawalen & ikemmusen n tutlayin
    • Ismal nniḍen n tunigin
    • Izegrar i Android
Qqen
Taskant n Discover Less

Discover Less sɣur Matheus Araujo

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

0 (0 reviews)0 (0 reviews)
2 yiseqdacen2 yiseqdacen
Ilaq-ak·am Firefox i useqdec n usiɣzef-a
Sader Firefox syen awi isiɣzaf
Sader afaylu

Asiɣzef aɣefisefka

Ɣef usiɣzef agi
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.
Iwenniten n uneflay
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.
Rated 0 by 0 reviewers
Qqen akken ad ternud tazmilt i usiɣzef-agi
Ulac tazmilt akka tura

Amḍan n yitran yettwasekles

5
0
4
0
3
0
2
0
1
0
Ulac iceggiren tura
Tisirag akked yisefkaIssin ugar

Yesra tisirag:

  • Kcem ɣer isefka-ik i twitter.com
Ugar n telɣut
TigIseɣwan n uzegrir
  • Asebter agejdan
  • Asmel n tallelt
  • Imayl n tallelt
Lqem
1.0.0
Teɣzi
42,34 KB
Aleqqem aneggaru
pred enim letom (3. apr. 2024)
Taggayin i ilan assaɣ
  • Tabaḍnit & Taɣellist
  • Timetti & Taɣwalt
Turagt
Apache License 2.0
Amazray n Lqem
  • Wali akk ileqman
Tibzimin
  • content blocker
  • social media
  • twitter
Rnu ar tegrumma
Mmel azegrir-a
Ugar n isiɣzaf sɣur Matheus Araujo
  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

Ddu γer usebter agejdan n Mozilla

Izegrar

  • Γef
  • Ablug n yizegrar Firefox
  • Tanemselt ɣef usiɣzef
  • Tarbaɛt n ineflayen
  • Tasertit i yineflayen
  • Ablug n temɣiwent
  • Anmager
  • Azen-d abug
  • Aḍris n ucegger

Iminigen

  • Desktop
  • Mobile
  • Enterprise

Ifarisen

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Tabaḍnit
  • Inagan n tuqqna
  • Usḍif

Ala ma yettwammel akken-nniḍen, agbur n usmel-agi yella ddaw n turagt Creative Commons Attribution Share-Alike v3.0 neɣ ileqman imaynuten.