Last active
July 2, 2019 11:15
-
-
Save hexium310/7a9d57f1c9dc834f8c9a76de8fd1721e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 右カラム */ | |
div[data-testid="sidebarColumn"] { | |
display: none; | |
} | |
/* n分前 */ | |
div[data-testid="tweet"] a[title][aria-label] { | |
visibility: hidden; | |
} | |
div[data-testid="tweet"] a[title][aria-label]::before { | |
visibility: visible; | |
content: attr(aria-label); | |
} | |
/* URLスキーム標示 */ | |
div[data-testid="tweet"] a[title] { | |
visibility: hidden; | |
} | |
div[data-testid="tweet"] a[title]::before { | |
visibility: visible; | |
content: attr(title); | |
} | |
/* 広告を消す */ | |
/* 1つ目の[data-testId="UserCell"]:リストのメンバー */ | |
/* 2つ目の[data-testId="UserCell"]:おすすめユーザー */ | |
div[aria-label^="タイムライン"] > div > div > div > div:not([data-testId="UserCell"]) > div:not([data-testId="UserCell"]):not([data-testid="trend"]):not([data-testid="conversation"]) > div { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment