Git Product home page Git Product logo

redirect-russia's Introduction

redirect-russia's People

Contributors

anandchowdhary avatar fwdmo avatar plibither8 avatar smith558 avatar soeren-san avatar tenlocode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

redirect-russia's Issues

`countryCode` should be tested as a lower case string

Description

countryCode string variable should be tested as a lower case string due to

countryCode = json.country.toLowerCase();

v1.ts, L.129

Relevant Context

In IP geolocation request code section.

if (countryCode === "RU") return redirect();

v1.ts, L.134

Solution

Change "RU" by "ru" like

if (countryCode === "ru") return redirect();

Script is causing infinite redirect loop

I'm from Russia, and I wanted to see how the script is working. I tried visiting https://redirectrussia.org/?from=redirectrussia.org and the only thing I see is my browser infinitely redirecting me somewhere and page being refreshed constantly. I can't really see what's on the page.

P.S. I dislike what's Russia is doing in Ukraine, but I also do not understand why regular russian people have to suffer on the internet because of it. I also do not like this script, but if you're publishing it, at least make it "usable" and make sure it provides useful information.

Screen.Recording.2022-03-06.at.20.41.42.mov

This isn't helping anyone

This repo is helping no one, merely punishing russian people for something that the state did, not them

Add Belarus

Should Belarus be added to? As the most consequential abettor to the current invasion, shall Belarus not be added to this too? Many analysts conclude that without Belarus the invasion would have lost a significant strategic advantage that they gained from the start.

Add Mariupol and Kherson cities

I think you should add some sort of check to also include to cities of Mariupol and Kherson in this redirect thing. Those cities were recently captured by Russia so people there should suffer as they are part of Russia now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.