Skip to content

Instantly share code, notes, and snippets.

@verhovsky
Last active October 8, 2022 11:04
Show Gist options
  • Save verhovsky/f23a42047ddc43ba24f7f09e87cac6a2 to your computer and use it in GitHub Desktop.
Save verhovsky/f23a42047ddc43ba24f7f09e87cac6a2 to your computer and use it in GitHub Desktop.
Stack Overflow minimal content block
! This is a set of filters you can paste into uBlock Origin's "My filters" tab
! to reduce the clutter you see on Stack Overflow
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.site-footer
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.bottom-notice
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com###hot-network-questions
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com###feed-link
stackoverflow.com##.js-sidebar-zone
! causes suggested edit approve/reject dialog to be hidden on desktop
!stackoverflow.com##.s-sidebarwidget
stackoverflow.com###newsletter-ad
! Share Edit Follow Flag buttons under each question
!stackoverflow.com##.s-anchors
stackoverflow.com##.bounty.bounty-link
stackoverflow.com##.flex--item:has(> button.js-follow-post)
!stackoverflow.com##.post-tag
! comment edited icon
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.iconPencilSm.svg-icon
! yellow box with The Overflow Blog/Featured on Meta/Hot Meta Posts
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.s-sidebarwidget__yellow
stackoverflow.com###left-sidebar
! "Bountied" questions button on "Top questions"
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##a.s-btn.js-sort-preference-change[href="?tab=bounties"]
! Top bar
! view SO Teams, etc
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.js-left-sidebar-toggle
! Products button
stackoverflow.com##.js-products-menu
!stackoverflow.com##.review-button-item
!stackoverflow.com##.grid--cell.-main
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.js-help-button
stackoverflow.com##.js-review-button
! Your points
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.s-topbar--content .s-topbar--item.s-user-card .s-user-card--info
! More points notification
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.js-achievements-button
! Hide everything
! top bar with search, etc.
!stackoverflow.com##.top-bar
! grey buttons under each question/answer Share / Edit / Close / Flag
!stackoverflow.com##.js-post-menu
! post answer box
!stackoverflow.com##.post-form
! Add a comment button
!stackoverflow.com##.comments-link
! Profile pics
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.user-gravatar16
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.user-gravatar32
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.user-gravatar64
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.gravatar-wrapper-16
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.gravatar-wrapper-32
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.gravatar-wrapper-64
!stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.user-details:style(margin-left:0px!important)
! Users' points
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.-flair
! Users' points next to username on Top Questions page
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.s-user-card--info > .s-user-card--awards
! <Asker> is new to SO notice
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.js-new-contributor-indicator
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.new-contributor-indicator
! Obnoxious political username
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.s-user-card--link > .flex--item:has-text(/santilli/i)
stackoverflow.com,stackexchange.com,askubuntu.com,stackapps.com,mathoverflow.net,superuser.com,serverfault.com##.comment-user:has-text(/santilli/i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment