! Title: Intentional: X (Brave) ! Description: Removes X's algorithmic feeds and infinite scrolling, so you only see what you came for. ! Homepage: https://aymericbeaumet.github.io/intentional/ ! License: MIT ! Version: 0.2.0 ! Expires: 1 day ! Redirects need the userscript: https://aymericbeaumet.github.io/intentional/userscript/intentional.user.js ! ===== X ===== ! X: see site.yaml for the policy and tests.yaml for what each rule must do. ! --- Home: the For you timeline --- ! The first Home tab links to /home. Native CSS releases the timeline as soon as ! X changes aria-selected. Target the timeline list: the mobile quote composer ! can occupy a separate section in the same column. x.com##main:has([role="tablist"] > div:first-child > [role="tab"][href="/home"][aria-selected="true"]) [data-testid="primaryColumn"] section[role="region"] > h1[role="heading"] ~ div[aria-label]:has([data-testid="cellInnerDiv"]) x.com##[role="tablist"] > div:first-child:has(> [role="tab"][href="/home"]) ! --- Who to follow modules in timelines --- ! A heading cell right before account cells, the account cells, the "Show more" cell. x.com##:matches-path(/^\/home\/?(\?|$)/) [data-testid="cellInnerDiv"]:has(h2):has(+ [data-testid="cellInnerDiv"] [data-testid="UserCell"]) x.com##:matches-path(/^\/home\/?(\?|$)/) [data-testid="cellInnerDiv"]:has([data-testid="UserCell"]) x.com##[data-testid="cellInnerDiv"]:not(:has(article)):has(a[href^="/i/connect_people"]) ! --- Post page: "Discover more" and every post after it --- ! Its heading is the only one followed by a description line (div[dir]). x.com##:matches-path(/\/status\/\d+/) [data-testid="cellInnerDiv"]:not(:has(article)):has(h2[role="heading"] + div[dir]) x.com##:matches-path(/\/status\/\d+/) [data-testid="cellInnerDiv"]:not(:has(article)):has(h2[role="heading"] + div[dir]) ~ [data-testid="cellInnerDiv"] ! --- Sidebar: Who to follow, Relevant people, Trending, Today's News --- x.com##[data-testid="sidebarColumn"] aside[role="complementary"]:has([data-testid="UserCell"]) x.com##[data-testid="sidebarColumn"] section:has([data-testid="trend"]) x.com##[data-testid="sidebarColumn"] div:has(> [data-testid="news_sidebar"]) ! "You might like" on a profile, after following it. x.com##[data-testid="primaryColumn"] aside[role="complementary"]:has(a[href^="/i/connect_people"]) ! --- Explore, Trending, Who to follow pages (redirected when redirects are on) --- x.com##nav a[href="/explore"] x.com##:matches-path(/^\/(explore|i\/trends|i\/connect_people)\b/) [data-testid="primaryColumn"] section[role="region"] > h1[role="heading"] ~ div[aria-label]:has([data-testid="cellInnerDiv"]) ! X seeds the opened post separately. These operations supply the surrounding videos. ||x.com/*graphql/*/ImmersiveMedia^$xhr,1p ||x.com/*graphql/*/ImmersiveProfile^$xhr,1p ||x.com/*graphql/*/MediaTabVideoMixer^$xhr,1p ! This is the vertical video scroller. The reply drawer has its own scroll container. x.com##[data-testid="vss-scroll-view"]:style(overflow: clip !important; scroll-snap-type: none !important)