Skip to content

Instantly share code, notes, and snippets.

@mhoye
Last active November 17, 2025 14:48
Show Gist options
  • Select an option

  • Save mhoye/dcc2c2febeba230ca7ceb25c970390a1 to your computer and use it in GitHub Desktop.

Select an option

Save mhoye/dcc2c2febeba230ca7ceb25c970390a1 to your computer and use it in GitHub Desktop.
uBlock Origin Bonus Content
||youtube.com$domain=~youtube.com # Don't pull youtube JS unless you're using youtube. This breaks
# embedded videos, which is mildly inconveninent, but makes everything much faster.
||www.gstatic.com$domain=~google.com
||gstatic.com$domain=~google.com # Don't use gstatic unless you're on Google. This might
# break some things but so far I haven't noticed any problems.
||accounts.google.com$domain=~google.com # Don't pop up the "log in with google" dialog everywhere. This makes the
# internet feel about 95% less creepy.
||static.licdn.com$domain=~www.linkedin.com # I was changing my 4 month old child's diaper when they said to me, Dad,
# don't run LinkedIn code if you're not using Linkedin. Here's what that
# taught me about b2b sales.
||fonts.googleapis.com$domain=~google.com # these aren't fonts, these are captchas. Also lies but mostly captchas.
||fonts.gstatic.com$domain=~google.com # in theory this is covered above but defense wins championships.
||googlevideo.com$domain=~youtube.com
||contacts.google.com$domain=~google.com
||cookielaw.org # blocks a bunch of cookie popups.
||twitter.com # fuck that guy
||x.com # yes, that guy specifically
||fbcdn.net # also this guy specifically
||fbcdn*.akamaihd.net # a Facebook cdn collection.
||fbstatic*.akamaihd.net # another Facebook cdn collection.
||graph.facebook.com # In fact, fuck all these guys.
||merchantpool1.linkedin.com # If I can block a megabyte of minified JS and see no difference, then I didn't need it.
||protechts.net # Another 1+MB no-op.
||cdn.bullwhip.cloud # yup
||cdn.concert.io # Same thing. My god, _megabytes_ of somebody's work that I can toss right in the trash
||use.fontawesome.com # and the only difference it makes is that my experience gets better? Who builds this
||static.zbcdn3.com # trash? Is this who they wanted to be? A source of negative usefulness in this world?
# The rest of this list is, far as I can tell, adtech companies and their CDNs.
# My criteria here is "do I think this webpage is slow?" or "does something on
# this page annoy me." In either case, I look at the network traffic in devtools
# and start blocking javascript, biggest payloads to smallest. If nothing visibly
# changes when I block a chunk of JS, I just leave it blocked forever.
||zotabox.com
||tidiochat.co
||code.tidio.co
||tidiochat.com
||cdn.amplified.io
||boldapps.net
||amplifiedcdn.com
||cdn.amplified.io
||cdn.codeblackbelt.com
||webmarked.net
||identixweb.net
||js.klarna.com
||px-cdn.net
||cookiebot.com
||assets.zephyr.com
||usefathom.com
||townnews.com
! Jun 25, 2025 https://duckduckgo.com
||duckduckgo.com#.react-module # This blocks the AI-summary part of ddg search results, I think.
@jdubovsky
Copy link

I will try this config file mostly because it looks like a solid set of rules... but also in no small part due to the excellent comments.

# these aren't fonts, these are captchas. Also lies but mostly captchas.

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