No, the yellow badges were a way to single out an ethnicity as a way to enforce racial laws such as confiscating their property, removing them from their jobs, allowing other citizens to boycott their businesses and a large target for harassment in the streets. Finally, to achieve the goal of genocide by having identification said ethnicity
While what you are comparing this to, prevents you from entering a website, presumably until you change your DNS to 8.8.8.8