Post

Invert promoted maneuver

Create a manifest.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "name": "WebX",
    "permissions": ["activeTab", "webNavigation"],
    "version": "0.1.0",
    "description": "Web Experience",
    "manifest_version": 3,
    "host_permissions": [
        "https://twitter.com/*", "https://x.com/*"
    ],
    "content_scripts": [
        {
            "matches": ["https://twitter.com/*", "https://x.com/*"],
            "css": ["css/x.css"],
            "run_at": "document_end"
        }
    ],
    "icons": {}
}

Create css/x.css to boost visibility of regular posts by lowering opacity of promoted ones:

1
div[data-testid="cellInnerDiv"]:has(div[data-testid="placementTracking"]) { opacity: 0.3 }
This post is licensed under CC BY 4.0 by the author.