Last active
February 14, 2025 06:22
-
-
Save mary-ext/58b4df6a5733f11c8cff0f7a3c43e8b3 to your computer and use it in GitHub Desktop.
block Bluesky's regional moderation (currently on Germany and Brazil)
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
bsky.app##+js(user-bsky-regional-labeler-block.js) | |
main.bsky.dev##+js(user-bsky-regional-labeler-block.js) |
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
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