Skip to content

Instantly share code, notes, and snippets.

@Tekl
Last active July 4, 2020 23:09
Show Gist options
  • Save Tekl/b770c29529b0530ae7ceb09266ba7665 to your computer and use it in GitHub Desktop.
Save Tekl/b770c29529b0530ae7ceb09266ba7665 to your computer and use it in GitHub Desktop.
Block a lot of comments on popular websites with AdGuard (based on shutup.css)
! Title: Shut Up Comments with AdGuard
! Block a lot of comments on popular websites (based on shutup.css)
! Version: 1.0.5
! TimeUpdated: 2020-07-05T17:05:00+01:00
! Expires: 4 days (update frequency)
! Homepage: https://gist.github.com/Tekl/bf4cfc6513a1c1e787ec49ab54f0d8c9
! Source: https://github.com/panicsteve/shutup-css/blob/master/shutup.css
! Filter URL: https://gist.github.com/Tekl/b770c29529b0530ae7ceb09266ba7665/raw/AdGuard_shutup-css.txt
!!/* YouTube */
###watch-comment-panel
###cm
###watch-comments-core
###watch-discussion
###comments-test-iframe
##ytm-comment-section-renderer
!!/*
! * Digg and other sites that use "comments" divs
! * (Make an exception for <code> elements, whose "comments" are
! * a different animal)
!*/
##.comments:not(code)
##.Comments:not(code)
###comments:not(code)
###Comments:not(code)
###comments_container
!/* CNN and other sites that use Disqus */
###disqus_thread
###dsq-content
!/* Ain't It Cool News */
##.block-talkback_story
!/* VersionTracker */
###prodReviews
!/* MacUpdate */
##.revcontent
!/* WordPress default Kubrick theme and descendents */
##.commentlist
!/* Slashdot */
###commentlisting
!/* CBC News */
###socialcomments
###commentwrapper
!/* C|Net News.com */
##.commentwrapper
!/* Reddit */
##.commentarea
!/* Designer News */
###story-comments
!/* OregonLive and generic "comment" class */
##.comment
!/* KATU */
###commentform
!/* Washington Post and other sites that use "commentText" divs */
##.commentText
!/* Gannett newspapers and other sites that use Pluck */
##div#pluckcomments
!/* Last.fm shoutbox */
##div#page div#content h2#shoutbox
##div#page div#content div#shoutboxContainer
##div#shoutbox section.shoutbox
!/* The Globe and Mail */
###latest-comments
!/* EW */
##.commentHolder
!/* Boxee */
##.comment-container
###comment-container
!/* MLB */
###comment_container
!/* CNN */
###commentblob
###cnnComments
!/* The Stranger */
###BrowseComments
##.fa-comment
##.comment-count
!/* Seattle Times */
###showcomments
!/* Crosscut */
##.comments__btn
!/* Yahoo News */
##.mwpphu-comments
##.ugccmt-comments
!/* Coding Horror */
##.comments-body
!/* seen on Reuters */
##.articleComments
!/* nationalpost.com (Pluck) */
##.pluck-comm
!/* KATU */
##.page-comments
!/* DeviantArt */
###gmi-CCommentMaster
##div[data-hook=comments_thread]
!/* Some blogs */
##.comments-container
!/* Oprah */
###media_comments
!/* 9to5mac */
###idc-container-parent
!/* Livefyre */
###livefyre_comment_stream
###livefyre-body
###livefyre
##.fyre
!/* PC World */
###articleComments
!/* Slate */
##.js-CommentsArea
!/* NYTimes Blogs */
###readerComments
##.readerComments
###commentsContainer
##.commentsContainer
##.commentsModule
!/* nytimes.com */
##span.postMetaHeaderCommentCount.commentCount
##button.comments-button
##a.commentCountLink
##p.theme-comments
/* BBC News */
##.comments-button
##.dna-comment
##.nw-c-comment
!/* ZDNet */
##.view-6
##.space-_5
!/* Gamasutra */
##.all_comments
!/* dvice.com */
###display_comments
!/* hp.com */
##.article-comments
!/* unionleader.com */
###commentscontainer
!/* ifc.com */
##.echo-stream-container
!/* creativereview.co.uk */
###feedback
!/* thenextweb.com */
###lf_comments
###lf_twitter_comments
###lf_facebook_comments
###lf_comment_stream
!/* MacWorld */
###commentList
!/* ft.com */
###inferno-comments
!/* tidbits.com */
##.cb_block
!/* dilbert.com */
##.CMT_CommentList
!/* Cracked */
###comments_section
!/* Facebook feedback */
##.fb-comments
##.UFIComment
##fb\:comments
##div[data-testid^=UFI2CommentsList]
!/* new facebook beta look */
##[aria-label^="Comment"]
##[aria-label^="Reply"]
!/* buzzfeed */
###responses
###facebook_responses
###facebook_conversations
###fb_comments_wrapper
###fb_comments_control
##.fb-comments-area
###respond
###badge_voting
!/* spiegel.de */
##.spCommentsBoxBody
###spArticleFunctionForum
##body[data-guj-zone~="forum"] #postList
###js-article-comments-box-form
##.spInteractionMarks
##.clearfix.article-comments-box.module-box
!/* handelsblatt.de */
##a[href*="detail_tab_comments"]
##.vhb-comments-container
!/* handelsblatt.com */
##.hcf-article.hcf-content.hcf-article-type2
!/* auto-motor-und-sport.de */
##.kommentare_uebersicht
!/* corriere.it */
###body_dlt
###comment_box_article
!/* repubblica.it */
###ugc-container
###gs-social-comments
##.gig-comments-container
!/* faz.net */
##.ArtikelKommentieren
##.tsr-Base_ContentMetaItem-social-feedback
###lesermeinungen
!/* Giant Bomb avatars */
##.comment-avatar-wrap
!/* hlntv.com */
##.fbFeedbackContent
!/* mirror.co.uk */
##.pluck-wrap
!/* TwitPic */
###media-comments
!/* Guardian */
###d2-root
!/* E! Online */
##.thyme-comment-list
!/* SoundCloud */
##.commentsList
##.commentsList__item .commentItem
##.commentPopover
!/* Penny Arcade report */
###vanilla-comments
!/* Mother Nature Network */
##.replies-wrapper > .replies
##.view-comment-list
!/* New Jalopnik (and Gawker?) */
##.js_replies
!/* TSN.ca */
###tsnYourCallStory
!/* NewsBlur */
##.NB-feed-story-comments
!/* Russia Today */
##.b-comments_page
!/* Hearst sites */
##.hdn-comments
!/* Cox Media sites */
###cmComments
!/* cleveland.com */
##.rtb-apps-comments-container
!/* derstandard.at */
##.communityCanvas
!/* derstandard.de */
##section#story-community.story-community
!/* presse.at */
###commentbox
###newcommentform
!/* ka-news.de */
###QuickRegCon
!/* tagesschau.de */
##.inpagecomments
##.modCon.modConComments
!/* taz.de */
##.full.community.page.last.even
!/* fr-online.de */
###commentsRoot
##.Comment
!/* huffingtonpost.de */
###conversations-huffpost-web-main
!/* wiwo.de */
##.hcf-detail.hcf-comments-container
!/* arstechnica.com */
##section#promoted-comments
##aside.comments-hotness
##a.comment-count
##div.comments-bar
!/* trakt.tv */
##.summary-comments
!/* Kotaku */
##.post-content .annotation-footnote-wrapper
##.post-content .annotateButton
!/* imgur */
###comments-container
!/* Curbed */
##.post-comments-module
###comments-count
##.comments-body-container
!/* Polygon */
##.m-hero__comment-count
##.comment_count
!/* SB Nation */
##.m-comment-count__bubble
##.m-stream__node-list__comments
!/* The Verge */
##[data-ui=comment]
!/* lemonde.fr */
##.liste_reactions
!/* lefigaro.fr */
###reagir
!/* rue89.nouvelobs.com */
###commentaires
!/* numerama.com */
##.commentaires
!/* huffingtonpost.fr */
###conversations-huffpost-web
!/* Civil Comments */
###civil-comments
!/* 9gag */
##.post-comment
!/* Engadget (Confab) */
##.confab
!/* Gamasutra */
###dynamiccomments
!/* GameSpot */
##.comments-block
!/* GiantBomb */
##.js-comments-block
!/* LINE Webtoon */
##.comment_area
!/* NAVER News */
###cbox_module
!/* DAUM News */
##.cmt_view
!/* Radio-Canada */
##.viafoura
!/* Medium */
##.responsesWrapper
##.responsesStreamWrapper
!/* G1 and Globo */
###boxComentarios
!/* UOL */
###comentarios
!/* Folha */
###article-comments
!/* Veja */
##.abril-comentarios-widget
!/* VK */
##.replies_wrap > div:first-child
###pv_comments.wall_module
###mv_comments.wall_module
!/* Dailymotion */
##.pl_video_comment_post_and_comments
!/* Dutch language websites, including nu.nl and tweakers.net */
##.reacties
###reacties
##.comments-link-wrapper
!/* investor.bg and possibly others */
##.comments_article
###comments-frame
!/* hs.fi */
###commenting
!/* iltasanomat.fi */
##.is-comments-widget
###comments-list
!/* MacRumors mobile site comments link */
##.teaser .teaser_footer > a
!/* USgamer paragraph comment buttons */
##a.button.annotation-count
!/* Twitch Chat */
###right-column .chat-room
##.right-column .chat-room__container
##.channel-page__right-column .chat__container
##.chat-pane .chat-pane__chat-list
##div[data-a-target="right-column-chat-bar"]
!/* YouTube Live Chat */
###watch-sidebar-live-chat
##ytd-live-chat-frame
!/* GoComics */
##.js-comments-thread-container
!/* Patreon */
##[data-test-tag="comment-row"]
##[data-tag="comment-row"]
!/* Instagram */
##ul.Mr508 /* Detail page, all comments except OP */
##article._8Rm4L div.ybXk5 /* Feed, all comments except OP */
##article._8Rm4L a.r8ZrO /* Feed, show comments link */
/* Pixiv */
##div#root section.dBUetj
###js-mount-point-comment-module
##.comment-list
/* Pixiv Fanbox */
##div#root div.jUvQSR
!/* Yahoo! News floating comment dingus */
###YDC-MainCanvas .canvas-share-buttons > div:last-child
!/* Refinery29 */
##.sppre_conversation-view
!/* Steam Community */
##.commentthread_area
!/* HLTV */
##.contentCol .forum
!/* Quora */
##.threaded_comments
!/* Times of India */
##.topcomment
##.bottom-comments
!/* Sydney Morning Herald (and possibly others) */
##iframe[src*="ffx.io/api/comments"]
!/* Opinary Widgets */
##.opinary-iframe
##.opinary-widget-wrapper
!/* Apester Widgets */
##.apester-fill-content
!/* heise.de */
##.comment-button
##.media-icon--comments
##.a-article-meta__icon--comments
###comments_container
##.kommentare_lesen_link
##.forenbeitraege_show
##.kommentare-info
##.a-article-meta__icon--comments
##a[name="meldung.newsticker.header.kommentarelesen"]
##a[name="meldung.autos.header.kommentarelesen"]
##a[name="meldung.ho.header.kommentarelesen"]
##a[name="meldung.apple.header.kommentarelesen"]
##a[name="meldung.ix.header.kommentarelesen"]
##a[name="meldung.developer.header.kommentarelesen"]
##.a-article-header__service-group a:nth-child(3)
!/* mactechnews.de */
##span[title*="#comments"]
##.MtnCommentScroll
###ContentPlaceHolder1_FieldsetCommentEditor
###ContentPlaceHolder1_ButtonCommentPublish
!/* maclife.de */
##.shares .count
###maclife #comments
!/* apfelpage.de */
##a[href*="#respond"]
##a[href*="#comments"]
!/* computerbase.de */
##.article__comments-link
!/* giga.de */
###comments+#weiterethemen
##.comment-section
!/* mdr.de */
##.modComments
!/* tagesspiegel.de */
###kommentare
###hcf-comment-wrapper.hcf-comments
###commentInput.hcf-comments-input
##.hcf-comments
!/* haz.de */
##.pdb-article-comments
!/* welt.de */
##.o-teaser__comment-count
##div[data-external-component="User.Article.Likes"]
!/* focus.de */
###article #commentForm
!/* mopo.de */
##a[data-disqus-identifier]
!/* t-online.de */
###talk_community
!/* curved.de */
##.article-content .engagement
!/* netzwelt.de */
##a[href*="#kommentare"]
!/* krautreporter.de */
###show-comments-container
##.article-comments
!/* perspective-daily.de */
##body[ng-app="pdaily"] a.discussions
##.discussion_body
##.tabs_container li:last-child
!/* tz.de */
##.id-Comment
!/* piqd.de */
##.pq-comment-form-wrap
##.rspec-comments-total
!/* PressTV.com */
###hypercomments_widget
!/* Thehindu.com */
###vuukle-comments
!/* tekstowo.pl */
###comments_content
###comm_show_more
##a[name="komentarze"]
!/* Thrillist */
##.comments__spotim
!/* Comments.app */
##iframe[src*="comments.app"]
!/* IGN */
##iframe[src*="comments.ign.com"]
!/* Product Hunt */
##[class^=main] div[class^=content] div[data-test^=thread]
!/* Le Figaro */
###commentsTitle
###commentsTitle + ul
###commentsTitle + ul + span
!/* Le Monde */
##.article__reactions
!/* Slickdeals */
###commentsBox
/* Tweetdeck */
##div.js-replies-to.replies-after article + article
##div.js-tweet-replies article
##div.js-conversation-show-more.conversation-more
/* Newgrounds */
##div.pod-body.review
/* Funimation */
##.reviews-section-wrap
/* MyAnimeList */
##div.detail-characters-list ~ div.borderDark
/* rule34.xxx */
##.content form ~ a#ci ~ div[id^=c0]
##.content form ~ a#ci ~ div[id^=c1]
##.content form ~ a#ci ~ div[id^=c2]
##.content form ~ a#ci ~ div[id^=c3]
##.content form ~ a#ci ~ div[id^=c4]
##.content form ~ a#ci ~ div[id^=c5]
##.content form ~ a#ci ~ div[id^=c6]
##.content form ~ a#ci ~ div[id^=c7]
##.content form ~ a#ci ~ div[id^=c8]
##.content form ~ a#ci ~ div[id^=c9]
!/* ...misc and generic... */
##.comments-list
###blogComments
###comments_pane
###commentcontainer
###commentsDiv
###comment_entries
###comment_form
###commentlist
###user-comments
##.comments_area
##.comments-area
##.discussionContainer
##.commentBoxStyle
##.pagecomment
##.pagecommentheader
##.com_text
##.commenttxt
##.post-comments
##.post-comment-list
##.widget-comments
###cmtWrapper
!/* *** Whitelist rules *** */
!/*
! * Some pages use a comments class on the top level element,
! * blocking the whole page. Weird.
! */
#@#html.comments
#@#body.comments
#@#html.Comments
#@#body.Comments
#@#html#comments
#@#body#comments
#@#html#Comments
#@#body#Comments
!/* highlight.js */
#@#code span.comment
!/* MediaWiki edit summaries (Wikipedia, etc.) */
#@##pagehistory .comment
#@#table.diff .comment
#@#.mw-summary-preview .comment
!/* GitHub - Pull Request comments */
#@#.repository-content .comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment