תוספות לדפדפן Firefox
  • הרחבות
  • ערכות נושא
    • עבור Firefox
    • מילונים וחבילות שפה
    • אתרי דפדפנים אחרים
    • תוספות עבור Android
כניסה
תצוגה מקדימה של Discover Less

Discover Less Matheus Araujo מאת

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

0 (0 reviews)0 (0 reviews)
1 User1 User
יש צורך ב־Firefox כדי להשתמש בהרחבה זו
הורדת Firefox וקבלת ההרחבה
הורדת קובץ

נתוני העל של ההרחבה

על אודות הרחבה זו
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.
הערות המפתח
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.
מדורג 0 על־ידי 0 סוקרים
יש להתחבר כדי לדרג הרחבה זו
אין דירוגים עדיין

דירוג הכוכבים נשמר

5
0
4
0
3
0
2
0
1
0
אין עדיין סקירות
הרשאות ונתוניםמידע נוסף

הרשאות נדרשות:

  • גישה לנתונים שלך עבור twitter.com
מידע נוסף
קישורים לתוספת
  • דף הבית
  • אתר תמיכה
  • דוא״ל לתמיכה
גרסה
1.0.0
גודל
42.34 ק״ב
עדכון אחרון
לפני שנה (3 אפר׳ 2024)
קטגוריות קשורות
  • פרטיות ואבטחה
  • חברתי ותקשורתי
רישיון
Apache License 2.0
היסטוריית הגרסאות
  • הצגת כל הגרסאות
תגיות
  • content blocker
  • social media
  • twitter
הוספה לאוסף
דיווח על תוספת זו
עוד הרחבות מאת Matheus Araujo
  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

מעבר לדף הבית של Mozilla

תוספות

  • על אודות
  • בלוג התוספות של Firefox
  • Extension Workshop
  • מרכז המפתחים
  • מדיניות למפתחים
  • בלוג קהילה
  • פורום
  • דיווח על תקלה
  • מדריך סקירה

דפדפנים

  • Desktop
  • Mobile
  • Enterprise

מוצרים

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • פרטיות
  • עוגיות
  • מידע משפטי

למעט היכן שצוין אחרת, התוכן באתר זה מוגש בכפוף לגרסה 3.0 של הרשיון Creative Commons Attribution Share-Alike או כל גרסה עדכנית יותר.