Created
January 1, 2025 09:09
-
-
Save mary-ext/6afe78480cb4e1ed1a8853c2a9c6def5 to your computer and use it in GitHub Desktop.
make bluesky good ublock filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 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 | |
! | |
! currently only Brazil and Germany is affected by this, but might as well. | |
! it's worth noting that blocking the route will only make the app apply *all* labeler. | |
! | |
||bsky.app/ipcc$replace=/(?<="countryCode":").+?(?=")/US/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment