censorcanary

CensorCanary 🐦

A lightweight JavaScript library to detect internet censorship and notify users when their access to a free and open internet may be restricted.

Why This Matters

The open internet is under threat. Around the world, governments and corporations are increasingly restricting access to certain websites, protocols, and platforms. While activists, journalists, and developers often work on censorship circumvention tools, ordinary citizens are the front line of defense:

Installation

Simply include the script in your webpage:

<script src="censorcanary.js" defer></script>

You can also load it directly from this repository:

<script src="https://censorcanary.org/censorcanary.js" defer></script>

If you want to check what the banner will look like, you can run censorcanary.showBanner(); in your browser console.