Skip to content

Instantly share code, notes, and snippets.

@mary-ext
Last active February 14, 2025 06:22
Show Gist options
  • Save mary-ext/58b4df6a5733f11c8cff0f7a3c43e8b3 to your computer and use it in GitHub Desktop.
Save mary-ext/58b4df6a5733f11c8cff0f7a3c43e8b3 to your computer and use it in GitHub Desktop.
block Bluesky's regional moderation (currently on Germany and Brazil)
bsky.app##+js(user-bsky-regional-labeler-block.js)
main.bsky.dev##+js(user-bsky-regional-labeler-block.js)
const _fetch = globalThis.fetch;
globalThis.fetch = function (req, init) {
if (req === 'https://bsky.app/ipcc') {
return Response.json({ countryCode: 'US' });
}
return _fetch.call(this, req, init);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment