How to filter out advertisements and noise on Stack Overflow
Everybody likes reading Stack Overflow (and, sometimes, other sites in the Stack Exchange network) to find solutions to their problems. However, there are dozens of irritating small items that hamper cognitive process. The solution? Install uBlock Origin (optionally, uMatrix) and add cosmetic filters suggested below.
Please note that the full list of filters is in se_filters.txt
in this repo.
- You should not risk litigation to read the site
- No need to submit to capricious moderation
- The fun of Stack Overflow used to be in answering questions. Nowadays, the management of the network looks to monetize experienced users, make them conform to their political agenda etc. etc.
- You are experienced enough to find your way through the docs on your own.
- Stack Overflow is going to introduce
submarinesnative ads. While this feature is not implemented in the list (yet!), rest assured we will update the filters once the nasties are deployed. - No newsletters, blog announcements, job ads for shady companies.
...and many, many more (including no Hot Network Questions)
- No more fixed top bar.
! Disable HNQ - you want seamless experience without distractions
stackoverflow.com###hot-network-questions
! No nagging newsletters
stackoverflow.com###newsletter-ad
stackoverflow.com##.newsletter-anon
! No Docs (defunct)
stackoverflow.com###nav-docs
! You have a nice job already, don't you?
stackoverflow.com###nav-jobs
! No login
stackoverflow.com##.btn-clear.login-link
stackoverflow.com##.btn.login-link
! No need to go through help while merely browsing
stackoverflow.com##.js-help-button.-link
! The community is mostly dead now
stackoverflow.com##.community-bulletin.module
! No answering
stackoverflow.com###post-form
! ADS!
stackoverflow.com###clc-tlb
! Legalese horsecrap in the footer steals your precious screenspace
stackoverflow.com###footer
stackoverflow.com##._short.js-footer.s-footer
! No thanks
stackoverflow.com##.special-status
! We don't need a hero. Leave it to Bonnie Tyler
stackoverflow.com##.s-hero
! This feature has been deleted because it's too chatty
stackoverflow.com###chat-feature
! Ugh.
stackoverflow.com##.js-dismissable.js-sample.js-experiment.unread-feature-notice.-feature-notice
! No loggin' in
stackoverflow.com##.btn-topbar-primary.login-link
! No bottom-feeders
stackoverflow.com###feed-link
! The infamous prison experiment
stackoverflow.com##.js-sample.js-experiment.unread-feature-notice.-feature-notice
! Ugh?
stackoverflow.com##.dno.js-feature-notice-dialog.feature-notice-dialog.topbar-dialog
! Really?
stackoverflow.com##.topbar-icon-on.js-experiment.unread-feature-notice.-feature-notice
! No sharing or editing
stackoverflow.com##.post-menu
! Comments are disabled.
stackoverflow.com##[id*="comments-link"]
! Screenspacesaver
stackoverflow.com##.bottom-notice
! ?!
stackoverflow.com##.btn-outlined
! No achievements
stackoverflow.com##.js-achievements-button.-link
! No inbox - we ain't logged in
stackoverflow.com##.js-inbox-button.-link
! Self-explanatory
stackoverflow.com##.everyonelovesstackoverflow
! Thanks but no thanks
stackoverflow.com###announcement-banner
! Temporary
stackoverflow.com##.quackoverflow
! Heroes are unboxable
stackoverflow.com###herobox
! My span is longer than yours
stackoverflow.com##.unread-feature-notice.-feature-notice > span
! The age of GDPR consent is long gone
stackoverflow.com###js-gdpr-consent-banner
! Make top bar not sticky - no need to reduce screen space!
stackoverflow.com##.top-bar._fixed:style(position: static !important)
- Stack Overflow Unofficial Patch - a heavy-weight set of fixes that works for logged-in users, maintained by Ilmari Karonen.