Skip to content

Instantly share code, notes, and snippets.

@hexium310
Last active July 2, 2019 11:15
Show Gist options
  • Save hexium310/7a9d57f1c9dc834f8c9a76de8fd1721e to your computer and use it in GitHub Desktop.
Save hexium310/7a9d57f1c9dc834f8c9a76de8fd1721e to your computer and use it in GitHub Desktop.
/* 右カラム */
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