Skip to content

Instantly share code, notes, and snippets.

@mary-ext
Last active November 8, 2025 20:35
Show Gist options
  • Select an option

  • Save mary-ext/6afe78480cb4e1ed1a8853c2a9c6def5 to your computer and use it in GitHub Desktop.

Select an option

Save mary-ext/6afe78480cb4e1ed1a8853c2a9c6def5 to your computer and use it in GitHub Desktop.
make bluesky good ublock filter
! remove `session_id` tracking parameter from videos
!
! ideally this would've been a redirect from `video.bsky.app/watch/<did>/<cid>/playlist.m3u8`
! to `video.cdn.bsky.app/hls/<did>/<cid>/playlist.m3u8`, as the latter is the actual CDN while
! the former is the middleware, however:
!
! - the raw playlist will not contain webvtt, that's added in by the middleware
! - ublock doesn't have a rule that allows redirecting to non-local neutered resource
!
||video.bsky.app$removeparam=session_id
! assume `US` to disable regional moderation labelers
! not that the Bluesky won't ever do US-specific censorship, but you know
!
||bsky.app/ipcc$replace=/(?<="countryCode":").+?(?=")/US/
! disable age assurance content restriction
||bsky.app/ipcc$replace=/(?<="isAgeRestrictedGeo":)true/false/
@mary-ext
Copy link
Author

mary-ext commented Jul 24, 2025

This gist is getting a lot of traction, which is good, but this gist is about my personal collection of uBlock filters to use on Bluesky web app (which may contain other unrelated things in the future)

If you came here to get around the UK age-based content restrictions, there's this other gist you could visit, it contains all the other workarounds you could possibly use:
https://gist.github.com/mary-ext/6e27b24a83838202908808ad528b3318

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