Firefox Browser Eklentileri
  • Uzantılar
  • Temalar
    • Firefox için
    • Sözlükler ve dil paketleri
    • Diğer tarayıcı siteleri
    • Android eklentileri
Giriş
Discover Less ön izlemesi

Discover Less geliştiren: Matheus Araujo

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

0 (0 reviews)0 (0 reviews)
2 kullanıcı2 kullanıcı
Bu uzantıyı kullanmak için Firefox’a ihtiyacınız var
Firefox’u indir ve uzantıyı yükle
Dosyayı indir

Uzantı meta verileri

Bu uzantı hakkında
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.
Geliştirici yorumları
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 inceleyiciden 0 puan aldı
Bu uzantıya puan vermek için giriş yapın
Henüz hiç puan yok

Puan kaydedildi

5
0
4
0
3
0
2
0
1
0
Henüz inceleme yapılmamış
İzinler ve verilerDaha fazla bilgi al

Gerekli izinler:

  • twitter.com verilerinize erişme
Daha fazla bilgi
Eklenti bağlantıları
  • Ana sayfa
  • Destek sitesi
  • Destek e-postası
Sürüm
1.0.0
Boyut
42,34 KB
Son güncelleme
bir yıl önce (3 Nis 2024)
İlgili kategoriler
  • Gizlilik ve Güvenlik
  • Sosyal ve İletişim
Lisans
Apache License 2.0
Sürüm geçmişi
  • Tüm sürümleri göster
Etiketler
  • content blocker
  • social media
  • twitter
Koleksiyona ekle
Bu eklentiyi rapor et
Matheus Araujo tarafından geliştirilen diğer uzantılar
  • Henüz hiç puan yok

  • Henüz hiç puan yok

  • Henüz hiç puan yok

  • Henüz hiç puan yok

  • Henüz hiç puan yok

  • Henüz hiç puan yok

Mozilla'nın ana sayfasına gidin

Eklentiler

  • Hakkında
  • Firefox Eklentileri Blogu
  • Uzantı Atölyesi
  • Geliştirici Merkezi
  • Geliştirici Politikaları
  • Topluluk Blogu
  • Forum
  • Hata bildir
  • İnceleme rehberi

Tarayıcılar

  • Desktop
  • Mobile
  • Enterprise

Ürünler

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Gizlilik
  • Çerezler
  • Hukuki Bilgiler

Aksi belirtilmedikçe bu sitedeki içerikler Creative Commons Attribution Share-Alike Lisansı v3.0 veya daha yeni sürümüyle lisanslanmıştır.