Skip to content

Instantly share code, notes, and snippets.

@oxguy3
Last active February 2, 2024 13:57
Show Gist options
  • Save oxguy3/dda7958f7da766eed9fa to your computer and use it in GitHub Desktop.
Save oxguy3/dda7958f7da766eed9fa to your computer and use it in GitHub Desktop.
Custom adblocking filters for removing annoyances

oxguy3's adblocking filters

Some filters I wrote to kill some things that annoy me on the web.

If you like this list, you might also check out Fanboy's Annoyance List. That list is a bit too overbearing for my tastes (I actually like seeing RSS links and whatnot), but it's very thorough at blocking a lot of obnoxious junk.

Installation

You must already have a adblocking extension on your browser that is compatible with AdBlock Plus filter syntax. I recommend uBlock.

Go to the control panel or options menu for your adblocker, then add this URL as a new 3rd-party filter:

https://gist.githubusercontent.com/oxguy3/dda7958f7da766eed9fa/raw/filters.txt

Alternatively, you can manually copy the rules from filters.txt below and paste them into your adblocker's custom filter list. If you do it this way, you will not automatically receive updates, but you will be able to remove any of my rules that you don't like.

[Adblock Plus 2.0]
! Title: oxguy3's adblocking filters
! Expires: 1 hour
! Homepage: https://gist.github.com/oxguy3/dda7958f7da766eed9fa
! Licence: http://www.wtfpl.net/txt/copying/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! smooth scrolling
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/jquery.nicescroll*.js
/jquery.smoothscroll*.js
/jquery.smooth-scroll*.js
/jquery-smoothscroll*.js
/jquery-smooth-scroll*.js
/nicescroll*.js
/smoothscroll*.js
/smooth-scroll*.js
/mousewheel-smooth-scroll
/surbma-smooth-scroll
themes/logistic/scripts/*.js
/dexp-smoothscroll.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! music players with auto-play
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!/jwplayer.js
www.sheepproductions.com/billy/billy.swf
/streampad/sp-player.js
/streampad/sp-player-tumblr.js
/sp/sp-player.js
hypster.com/flash/player.swf
scm.hypster.com/script.php
scmplayer.net/js/*
scmplayer.net/script.js
flash-mp3-player.net/medias/*
wikplayer.com/js/lib/soundmanager/*.js
wikplayer.com/code.js
grooveshark.com/widget.swf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! snow/rain/etc particle effects
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/jquery.snow.js
/plugins/holiday-snow/*
/plugins/let-it-snow/*
/snowstorm*.js
! Autumn leaves- by Kurt Grigg
##div>div>img#si0
##div>div>img#si0~img
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! right-click blockers
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/disablerightclick.
/no-right-click-images-plugin/*$script
/norightclick.
/right-click-disable
/plugins/CopyRightPro
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! browser rejection
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!/jquery.reject*.js
! this blocks jquery.reject.js, but without risk of breaking other JS
##div>#jr_overlay
##div>#jr_wrap
/plugins/advanced-browser-check/*
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! personal preferences
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
getbootstrap.com##body>a.v4-tease
twitch.tv##.following-games-onboarding
flickr.com##.signup-footer
setlist.fm##.videoPlayer
@rmariuzzo
Copy link

Thank you, in particular for the smooth scroll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment