Skip to content

Instantly share code, notes, and snippets.

@uetchy
Last active August 20, 2021 04:55
Show Gist options
  • Select an option

  • Save uetchy/c6b774ea8e0221d71d1fe87720223c72 to your computer and use it in GitHub Desktop.

Select an option

Save uetchy/c6b774ea8e0221d71d1fe87720223c72 to your computer and use it in GitHub Desktop.

Revisions

  1. uetchy revised this gist Aug 20, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -38,8 +38,10 @@ www.youtube.com###sentiment
    www.youtube.com###metadata-line > .ytd-video-meta-block:first-child
    www.youtube.com###info-text>#count
    www.youtube.com###info-text>#info-strings>#dot

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text

    !YouTube Blacklist
    www.youtube.com##.ytd-channel-name:contains(/(OtakMori|Shrimp\sSubs)/):upward(:is(ytd-grid-video-renderer, ytd-video-renderer))

    !Nicovideo
    www.nicovideo.jp##.MainContainer-marquee
  2. uetchy revised this gist Aug 20, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -39,4 +39,7 @@ www.youtube.com###metadata-line > .ytd-video-meta-block:first-child
    www.youtube.com###info-text>#count
    www.youtube.com###info-text>#info-strings>#dot

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
    m.youtube.com##.slim-video-metadata-actions .button-renderer-text

    !Nicovideo
    www.nicovideo.jp##.MainContainer-marquee
  3. uetchy revised this gist Aug 20, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    ! Title: Social Detox Filter
    ! Homepage: https://gist.github.com/uetchy/c6b774ea8e0221d71d1fe87720223c72/

    !Twitter
    !Twitter - Remove Counters
    twitter.com##div[data-testid="reply"] > div > div:nth-child(2)
    twitter.com##div[data-testid="like"] > div > div:nth-child(2)
    twitter.com##div[data-testid="unlike"] > div > div:nth-child(2)
    @@ -38,4 +38,5 @@ www.youtube.com###sentiment
    www.youtube.com###metadata-line > .ytd-video-meta-block:first-child
    www.youtube.com###info-text>#count
    www.youtube.com###info-text>#info-strings>#dot

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  4. uetchy revised this gist Aug 20, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -36,5 +36,6 @@ www.youtube.com###sentiment

    !YouTube View Count
    www.youtube.com###metadata-line > .ytd-video-meta-block:first-child

    www.youtube.com###info-text>#count
    www.youtube.com###info-text>#info-strings>#dot
    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  5. uetchy revised this gist Jun 20, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -34,4 +34,7 @@ www.youtube.com##ytd-menu-renderer.ytd-video-primary-info-renderer yt-formatted-
    www.youtube.com##yt-formatted-string[aria-label*="likes"]
    www.youtube.com###sentiment

    !YouTube View Count
    www.youtube.com###metadata-line > .ytd-video-meta-block:first-child

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  6. uetchy revised this gist Jun 20, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,8 @@ tweetdeck.twitter.com##.tweet-stat > b
    www.youtube.com###endpoint > span.title
    www.youtube.com##ytd-menu-renderer.ytd-video-primary-info-renderer yt-formatted-string

    !Likes / Dislikes
    !YouTube Likes / Dislikes
    www.youtube.com##yt-formatted-string[aria-label*="likes"]
    www.youtube.com###sentiment

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  7. uetchy revised this gist Dec 24, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    [Adblock Plus 2.0]
    ! Title: Social Detox Filter
    ! Homepage: https://gist.githubusercontent.com/uetchy/c6b774ea8e0221d71d1fe87720223c72/raw/filter.txt
    ! Homepage: https://gist.github.com/uetchy/c6b774ea8e0221d71d1fe87720223c72/

    ! Twitter
    !Twitter
    twitter.com##div[data-testid="reply"] > div > div:nth-child(2)
    twitter.com##div[data-testid="like"] > div > div:nth-child(2)
    twitter.com##div[data-testid="unlike"] > div > div:nth-child(2)
    @@ -26,11 +26,11 @@ tweetdeck.twitter.com##a[href$="/followers"] > strong
    tweetdeck.twitter.com##.tweet-stat[data-type="repliers"]
    tweetdeck.twitter.com##.tweet-stat > b

    ! YouTube
    !YouTube
    www.youtube.com###endpoint > span.title
    www.youtube.com##ytd-menu-renderer.ytd-video-primary-info-renderer yt-formatted-string

    ! Likes / Dislikes
    !Likes / Dislikes
    www.youtube.com##yt-formatted-string[aria-label*="likes"]

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  8. uetchy revised this gist Dec 15, 2020. 1 changed file with 6 additions and 12 deletions.
    18 changes: 6 additions & 12 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -27,16 +27,10 @@ tweetdeck.twitter.com##.tweet-stat[data-type="repliers"]
    tweetdeck.twitter.com##.tweet-stat > b

    ! YouTube
    www.youtube.com##yt-formatted-string[aria-label$="dislikes"]
    www.youtube.com##yt-formatted-string[aria-label$="likes"]
    !www.youtube.com###top-level-buttons > ytd-toggle-button-renderer:nth-child(2) > a > yt-formatted-string#text
    www.youtube.com###endpoint > span.title
    !www.youtube.com###count
    !www.youtube.com###date > #dot
    !www.youtube.com###metadata-line > .style-scope:nth-child(1)
    !www.youtube.com###chat
    !www.youtube.com###comments
    !m.youtube.com##button[aria-label~=like] .button-renderer-text
    !m.youtube.com##button[aria-label~=dislike] .button-renderer-text
    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
    www.youtube.com##ytd-menu-renderer.ytd-video-primary-info-renderer yt-formatted-string
    www.youtube.com##ytd-menu-renderer.ytd-video-primary-info-renderer yt-formatted-string

    ! Likes / Dislikes
    www.youtube.com##yt-formatted-string[aria-label*="likes"]

    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  9. uetchy revised this gist Oct 27, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -38,4 +38,5 @@ www.youtube.com###endpoint > span.title
    !www.youtube.com###comments
    !m.youtube.com##button[aria-label~=like] .button-renderer-text
    !m.youtube.com##button[aria-label~=dislike] .button-renderer-text
    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
    www.youtube.com##ytd-menu-renderer.ytd-video-primary-info-renderer yt-formatted-string
  10. uetchy revised this gist Oct 14, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -35,4 +35,7 @@ www.youtube.com###endpoint > span.title
    !www.youtube.com###date > #dot
    !www.youtube.com###metadata-line > .style-scope:nth-child(1)
    !www.youtube.com###chat
    !www.youtube.com###comments
    !www.youtube.com###comments
    !m.youtube.com##button[aria-label~=like] .button-renderer-text
    !m.youtube.com##button[aria-label~=dislike] .button-renderer-text
    m.youtube.com##.slim-video-metadata-actions .button-renderer-text
  11. uetchy revised this gist Jun 14, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -29,10 +29,10 @@ tweetdeck.twitter.com##.tweet-stat > b
    ! YouTube
    www.youtube.com##yt-formatted-string[aria-label$="dislikes"]
    www.youtube.com##yt-formatted-string[aria-label$="likes"]
    www.youtube.com###top-level-buttons > ytd-toggle-button-renderer:nth-child(2) > a > yt-formatted-string#text
    www.youtube.com###count
    www.youtube.com###date > #dot
    www.youtube.com###metadata-line > .style-scope:nth-child(1)
    !www.youtube.com###top-level-buttons > ytd-toggle-button-renderer:nth-child(2) > a > yt-formatted-string#text
    www.youtube.com###endpoint > span.title
    !www.youtube.com###count
    !www.youtube.com###date > #dot
    !www.youtube.com###metadata-line > .style-scope:nth-child(1)
    !www.youtube.com###chat
    !www.youtube.com###comments
  12. uetchy revised this gist May 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -15,8 +15,8 @@ twitter.com##a[href$="retweets"][role="link"] > div:first-child
    twitter.com##a[href$="retweets/with_comments"][role="link"] > div:first-child
    twitter.com##a[href$="likes"][role="link"] > div:first-child
    twitter.com##main > div > div > div > div:nth-child(2) > div > div:nth-child(2) > div > div > div > div:nth-child(3)
    twitter.com##a[data-testid="AppTabBar_Explore_Link"]
    twitter.com##div[data-testid="sidebarColumn"] > div > div:nth-child(2) > div > div > div > div:not(:first-child)
    !twitter.com##a[data-testid="AppTabBar_Explore_Link"]
    !twitter.com##div[aria-label*=unread]

    tweetdeck.twitter.com##span.retweet-count
  13. uetchy revised this gist May 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [Adblock Plus 2.0]
    ! Title: Social Detox Filter
    ! Homepage: https://gist.github.com/uetchy/c6b774ea8e0221d71d1fe87720223c72
    ! Homepage: https://gist.githubusercontent.com/uetchy/c6b774ea8e0221d71d1fe87720223c72/raw/filter.txt

    ! Twitter
    twitter.com##div[data-testid="reply"] > div > div:nth-child(2)
  14. uetchy revised this gist May 28, 2020. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -9,11 +9,11 @@ twitter.com##div[data-testid="unlike"] > div > div:nth-child(2)
    twitter.com##div[data-testid="retweet"] > div > div:nth-child(2)
    twitter.com##div[data-testid="unretweet"] > div > div:nth-child(2)
    twitter.com##article > div > div:nth-last-child(2) > div > a > div:nth-child(1)
    twitter.com##a[href$=followers] > span:first-child
    twitter.com##a[href$=following] > span:first-child
    twitter.com##a[href$=retweets][role="link"] > div:first-child
    twitter.com##a[href$=retweets/with_comments][role="link"] > div:first-child
    twitter.com##a[href$=likes][role="link"] > div:first-child
    twitter.com##a[href$="followers"] > span:first-child
    twitter.com##a[href$="following"] > span:first-child
    twitter.com##a[href$="retweets"][role="link"] > div:first-child
    twitter.com##a[href$="retweets/with_comments"][role="link"] > div:first-child
    twitter.com##a[href$="likes"][role="link"] > div:first-child
    twitter.com##main > div > div > div > div:nth-child(2) > div > div:nth-child(2) > div > div > div > div:nth-child(3)
    twitter.com##a[data-testid="AppTabBar_Explore_Link"]
    twitter.com##div[data-testid="sidebarColumn"] > div > div:nth-child(2) > div > div > div > div:not(:first-child)
    @@ -27,8 +27,8 @@ tweetdeck.twitter.com##.tweet-stat[data-type="repliers"]
    tweetdeck.twitter.com##.tweet-stat > b

    ! YouTube
    www.youtube.com##yt-formatted-string[aria-label$=dislikes]
    www.youtube.com##yt-formatted-string[aria-label$=likes]
    www.youtube.com##yt-formatted-string[aria-label$="dislikes"]
    www.youtube.com##yt-formatted-string[aria-label$="likes"]
    www.youtube.com###top-level-buttons > ytd-toggle-button-renderer:nth-child(2) > a > yt-formatted-string#text
    www.youtube.com###count
    www.youtube.com###date > #dot
  15. uetchy revised this gist May 28, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,7 @@ twitter.com##article > div > div:nth-last-child(2) > div > a > div:nth-child(1)
    twitter.com##a[href$=followers] > span:first-child
    twitter.com##a[href$=following] > span:first-child
    twitter.com##a[href$=retweets][role="link"] > div:first-child
    twitter.com##a[href$=retweets/with_comments][role="link"] > div:first-child
    twitter.com##a[href$=likes][role="link"] > div:first-child
    twitter.com##main > div > div > div > div:nth-child(2) > div > div:nth-child(2) > div > div > div > div:nth-child(3)
    twitter.com##a[data-testid="AppTabBar_Explore_Link"]
  16. uetchy revised this gist May 28, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ twitter.com##a[href$=retweets][role="link"] > div:first-child
    twitter.com##a[href$=likes][role="link"] > div:first-child
    twitter.com##main > div > div > div > div:nth-child(2) > div > div:nth-child(2) > div > div > div > div:nth-child(3)
    twitter.com##a[data-testid="AppTabBar_Explore_Link"]
    twitter.com##div[data-testid="sidebarColumn"] > div > div:nth-child(2) > div > div > div > div:not(:first-child)
    !twitter.com##div[aria-label*=unread]

    tweetdeck.twitter.com##span.retweet-count
  17. uetchy revised this gist May 28, 2020. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -13,8 +13,9 @@ twitter.com##a[href$=followers] > span:first-child
    twitter.com##a[href$=following] > span:first-child
    twitter.com##a[href$=retweets][role="link"] > div:first-child
    twitter.com##a[href$=likes][role="link"] > div:first-child
    !twitter.com##div[aria-label*=unread]
    twitter.com##main > div > div > div > div:nth-child(2) > div > div:nth-child(2) > div > div > div > div:nth-child(3)
    twitter.com##a[data-testid="AppTabBar_Explore_Link"]
    !twitter.com##div[aria-label*=unread]

    tweetdeck.twitter.com##span.retweet-count
    tweetdeck.twitter.com##span.like-count
    @@ -24,13 +25,12 @@ tweetdeck.twitter.com##.tweet-stat[data-type="repliers"]
    tweetdeck.twitter.com##.tweet-stat > b

    ! YouTube
    !www.youtube.com###chat
    !www.youtube.com###comments
    www.youtube.com##yt-formatted-string[aria-label$=dislikes]
    www.youtube.com##yt-formatted-string[aria-label$=likes]
    www.youtube.com###top-level-buttons > ytd-toggle-button-renderer:nth-child(2) > a > yt-formatted-string#text
    www.youtube.com###count
    www.youtube.com###date > #dot

    www.youtube.com###metadata-line > .style-scope:nth-child(1)
    www.youtube.com###endpoint > span.title
    www.youtube.com###endpoint > span.title
    !www.youtube.com###chat
    !www.youtube.com###comments
  18. uetchy revised this gist May 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    [Adblock Plus 2.0]
    ! Title: Social Retreat Filter
    ! Title: Social Detox Filter
    ! Homepage: https://gist.github.com/uetchy/c6b774ea8e0221d71d1fe87720223c72

    ! Twitter
  19. uetchy revised this gist May 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion filter.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [Adblock Plus 2.0]
    ! Title: Social Retreat Filter
    ! Homepage: https://gist.githubusercontent.com/uetchy/bda2367b183cbfeb03c9/raw/anti-fomo.txt
    ! Homepage: https://gist.github.com/uetchy/c6b774ea8e0221d71d1fe87720223c72

    ! Twitter
    twitter.com##div[data-testid="reply"] > div > div:nth-child(2)
  20. uetchy created this gist May 28, 2020.
    36 changes: 36 additions & 0 deletions filter.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    [Adblock Plus 2.0]
    ! Title: Social Retreat Filter
    ! Homepage: https://gist.github.com/uetchy/bda2367b183cbfeb03c9/raw/anti-fomo.txt

    ! Twitter
    twitter.com##div[data-testid="reply"] > div > div:nth-child(2)
    twitter.com##div[data-testid="like"] > div > div:nth-child(2)
    twitter.com##div[data-testid="unlike"] > div > div:nth-child(2)
    twitter.com##div[data-testid="retweet"] > div > div:nth-child(2)
    twitter.com##div[data-testid="unretweet"] > div > div:nth-child(2)
    twitter.com##article > div > div:nth-last-child(2) > div > a > div:nth-child(1)
    twitter.com##a[href$=followers] > span:first-child
    twitter.com##a[href$=following] > span:first-child
    twitter.com##a[href$=retweets][role="link"] > div:first-child
    twitter.com##a[href$=likes][role="link"] > div:first-child
    !twitter.com##div[aria-label*=unread]
    twitter.com##main > div > div > div > div:nth-child(2) > div > div:nth-child(2) > div > div > div > div:nth-child(3)

    tweetdeck.twitter.com##span.retweet-count
    tweetdeck.twitter.com##span.like-count
    tweetdeck.twitter.com##span.reply-count
    tweetdeck.twitter.com##a[href$="/followers"] > strong
    tweetdeck.twitter.com##.tweet-stat[data-type="repliers"]
    tweetdeck.twitter.com##.tweet-stat > b

    ! YouTube
    !www.youtube.com###chat
    !www.youtube.com###comments
    www.youtube.com##yt-formatted-string[aria-label$=dislikes]
    www.youtube.com##yt-formatted-string[aria-label$=likes]
    www.youtube.com###top-level-buttons > ytd-toggle-button-renderer:nth-child(2) > a > yt-formatted-string#text
    www.youtube.com###count
    www.youtube.com###date > #dot

    www.youtube.com###metadata-line > .style-scope:nth-child(1)
    www.youtube.com###endpoint > span.title