晴日小屋時光

晴日小屋時光

重新調整X用的Stylebot

2026 / 10 / 27

都忘記可以拜託Gemini幫我寫出更好的規則,以下是目前用了還算清爽的規則:

/ 1. 隱藏右側推薦跟隨 (Who to follow) 與時間軸推銷卡片 /

[aria-label="推薦跟隨"],

[aria-label="Who to follow"],

aside[aria-label*="跟隨"],

aside[aria-label*="Follow"],

[data-testid="UserCell"] {

    display: none !important;

}

/ 2. 隱藏個人頁面上的 正在跟隨 & 跟隨者 數字與連結 /

a[href$="/following"],

a[href$="/followers"],

a[href$="/verified_followers"] {

    display: none !important;

}

/ 3. 隱藏單則貼文時間旁邊的「查看次數 / 次查看」連結與數字 /

a[href$="/analytics"],

a[href*="/analytics"] {

    display: none !important;

}

/ 4. 徹底隱藏貼文下方轉推/喜歡/書籤數字,保留留言數可見 /

[data-testid="retweet"] span,

[data-testid="unretweet"] span,

[data-testid="like"] span,

[data-testid="unlike"] span,

[data-testid="bookmark"] span,

[role="group"] button[data-testid]:not([data-testid="reply"]) span {

    display: none !important;

}

/ 5. 隱藏發文時間後面殘留的孤兒小圓點(·) /

time ~ span {

    display: none !important;

}

/ 6. 【已修復】精準鎖定「探索更多」:限定在圖片浮層 (#layers) 內,絕不誤傷個人檔案首頁! /

#layers div[data-testid="cellInnerDiv"]:has(span:is([text_="探索"], [text_="Explore"])),

#layers div[data-testid="cellInnerDiv"]:has(h2) {

    display: none !important;

}

#layers div[data-testid="cellInnerDiv"]:has(h2) ~ div[data-testid="cellInnerDiv"] {

    display: none !important;

}

/ 7. 只有在全螢幕/浮層圖片檢視時,才把右側留言推開留白防劇透 /

body:has([aria-label*="圖片檢視"], [data-testid="swipe-to-dismiss"]) article {

    margin-top: 15rem !important;

}

/ 8. 隱藏個人檔案上的「加入日期(幾年幾月已加入)」 /

[data-testid="UserJoinDate"] {

    display: none !important;

}

/ 9. 隱藏帳號名稱旁邊的灰色小標籤「跟隨你 / Follows you」 /

[data-testid="userFollowIndicator"] {

    display: none !important;

}

/ 10. 隱藏左側導覽列的 通話、Grok、跟隨 按鈕 /

nav[aria-label] a[href*="/calls"],

nav[aria-label] button[aria-label*="通話"],

nav[aria-label] a[href*="/i/grok"],

nav[aria-label] a[aria-label*="Grok"],

nav[aria-label] a[href*="/i/connect_people"],

nav[aria-label] a[aria-label*="跟隨"] {

    display: none !important;

}

/ 隱藏 Premium 藍勾勾與廣告 /

div[role="menu"] a[href*="/i/premium_sign_up"],

div[role="menu"] a[href*="/i/premium_tier_switch"],

div[role="menu"] a[href*="ads.x.com"] {

    display: none !important;

}

/ 隱藏「探索」頁面的分類分頁列(探索、流行趨勢、新聞、體育、娛樂等) /

div[role="tablist"]:has(a[href*="/explore"]) {

    display: none !important;

}


雖然不知道會不會又因為x隨機改某些框架又失效,不過目前還算符合我的需求。

這樣好處是不會被數字跟各種資訊干擾而不舒服,畢竟自己自知容易受影響,隱藏掉反而能更專心在吸收資訊跟分享內容上了!

2026/11/10

結果X在偷偷內部改版,已經有幾個帳號不知道被改成什麼詭異廣告版面了真是快氣死了。

只能告訴自己專注於創造,其他看看就好。

2026/11/12

下載了Control Panel for Twitter這個插件來用,本來前天還沒啥,昨天就好像可以用了。本來每滑五則貼文會看到一則廣告現在也應該是被擋掉或是拔掉了。總之搭配我的各種檔廣告還有Style Bot總算又變回順眼的狀態了。

雖然我不能改造改變別人怎麼看我/使用SNS,至少看出去的是自己順眼的就好。