Redirect Russia
Take part in the sanctions against Russia and block Russian traffic to your website.
Copy and paste this line anywhere on your site 👇
How it works
When someone from Russia visits your website, they'll be redirected to a page that looks like this.
They can find information about how they can help Ukraine and make change from within Russia.
The script is asynchronous, meaning that it shouldn't affect the page load time, and it uses a combination of timezone and IP address geolocation to identify traffic from Russia, so we don't make too many IP geolocation API requests.
API
You can configure the redirect URL, location detection method, IP geolocation API, and whether or not to add your domain to the redirect URL using the configuration generator above.
We also emit an event redirect-russia
which you can listen to, for example to set up analytics:
document.addEventListener("redirect-russia", (event) => { /* */ })
The code is open source and available on GitHub.
Who's using this?
Redirect Russia · Pabio · Cleverclip · Oswald Labs · Carlo Badini · Anand Chowdhary · Sukriti Kapoor · Chowdhary.org · Karuna 2020 · Made with Love in India · Naari Essentials · Saarc Enterprises · Accessibility Guidelines · Comvation · Learn You a Haskell (community version) · ObráňUkrajinu.sk · Shaijyy websites · You too? Add your name here