Twitter X Clean Feed

Remove promoted tweets, trending sidebar, and who to follow.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Twitter X Clean Feed
// @namespace    https://flowkit.dev
// @version      1.0
// @description  Remove promoted tweets, trending sidebar, and who to follow.
// @author       FlowKit
// @match        *://x.com/*
// @match        *://twitter.com/*
// @license      MIT
// @grant        none
// @homepageURL  https://daveestaaqui.github.io/micro-assets-landing-page/
// ==/UserScript==
(function() {
    'use strict';
    const style = document.createElement('style');
    style.textContent = 'div[data-testid="placementTracking"] { display: none !important; }';
    document.head.appendChild(style);
    setInterval(() => {
        document.querySelectorAll('article').forEach(article => {
            if (article.textContent.includes('Promoted') || article.textContent.includes('Ad')) {
                article.style.display = 'none';
            }
        });
    }, 2000);
})();